--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To post to this group, send email to seleniu...@googlegroups.com.
To unsubscribe from this group, send email to selenium-user...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/selenium-users?hl=en.
It won’t.
When you use the [1] notation you are specifically looking for something that is the first child of the parent element. You may have 10 1st childs, but you will only interact with the first one because selenium will find the first match and run with it.
If you use [0] you will never find anything because there are no 0 childs.
And if you are not comfortable with xpath checkout “XPath Checker”. It will supply you with an xpath expression.
From: seleniu...@googlegroups.com [mailto:seleniu...@googlegroups.com] On Behalf Of Jayakumar C
Sent: Tuesday, March 01, 2011 10:09 AM
To: seleniu...@googlegroups.com
Subject: Re: [selenium-users] Find Element by Attribute
@Don't waste your life,
I the dropdown a special type? i.e. jQuery
--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To post to this group, send email to seleniu...@googlegroups.com.
To unsubscribe from this group, send email to selenium-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/selenium-users/-/eroXJJHT3N0J.
For more options, visit https://groups.google.com/groups/opt_out.