I would like to use the following css in my selenium function:
nth-of-type()
is this supported on all browsers and all versions, or do i need to be careful in using it.
If so, what all browsers/versions are supported?
thanks
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.
Quoted from the Sauce Labs blog:
So, it is dependent on the browser if you use a recent Selenium version. Use a CSS support overview site to determine it for individual browsers by searching for the locator you’re interested in.