RE: There are 10 items to be printed and all have field with same name ‘PRINT’ how will you get the Xpath for the 5th element?


How to write the Xpath?

kishore Train Asked on September 4, 2014 in Selenium WebDriver.
Add Comment
3 Answers

Hi kishore,

you can you firebug addon to firfox to locate the element or you can use contains, startswith, text in xpath of element

Doctor Answered on September 4, 2014.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.