joao-carloto / FireRobot

Firefox extension for Robot Framework/Selenium.
Other
28 stars 6 forks source link

Add option for creating XPath locators based on class attribute. #79

Closed joao-carloto closed 8 years ago

joao-carloto commented 9 years ago

The reason why I'm not using CSS locators is documented in issue #21. To overcome the difficulty of guarantying unique locators, when using CSS, use the class attribute inside XPath along with the index (if necessary). As a guideline see http://stackoverflow.com/questions/8808921/selecting-a-css-class-with-xpath .

joao-carloto commented 8 years ago

Published on v1.1.4.