How can i click on button which pattern name in id is
[u<6digits>_3] //?
Example:
u123456_3
Does selenium support any member with that ability?
You can see it while logging to facebook.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If the id is automatically generated you shouldn’t use it for selenium, since you cannot assume it will be always the same (maybe the next time they restart a server or if you get a different server from a load balancer the generated id is different)
Try to use another attribute of the element, like class or name, using XPath you can usually define a way to identify an element without having to use the id.
In this link you can check how it works.