Mike Williams a écrit :
Quoting Alexandre Garel
<[EMAIL PROTECTED]>:
xpath=(//[EMAIL PROTECTED]"name1"])[3] should
work.but because selenium wants a xpath to start with // (known bug)
you can use
xpath=//XX|(//[EMAIL PROTECTED]"name1"])[3] instead
That bug was fixed for Selenium-0.6. See
http://jira.public.thoughtworks.org/browse/SEL-138
Just saw that if it is fixed in the code it's not in the documentation.
seleniumReference.html :
xpath=xpathExpression
-
- Locate an element using an XPath _expression_. XPath locators ***must
begin with "//".***
Alex.
|
_______________________________________________
Selenium-users mailing list
[email protected]
http://lists.public.thoughtworks.org/mailman/listinfo/selenium-users