selenium-page-object-generator icon indicating copy to clipboard operation
selenium-page-object-generator copied to clipboard

Can i record script by Xpath instead of CSS selector

Open iParasJain opened this issue 9 years ago • 2 comments

When i generate the .java file, i m getting all CSS locator but in my framework I am only work with xpath. so how i can related to objects. is there is method to change the locators CSS to XPath

iParasJain avatar Sep 02 '16 06:09 iParasJain

I'd also like to be able to change the locators from CSS to XPath or ID! The preferred order of locators is usually 1.ID, 2.Name, 3.CSS, 4.XPath. It'd make sense to be able to select locators.

https://image.slidesharecdn.com/masteringtestautomationhowtouseseleniumsuccessfullyjul2016-160722133929/95/mastering-test-automation-how-to-use-selenium-successfully-13-638.jpg?cb=1469195260

ultang avatar Apr 19 '18 10:04 ultang

Can anyone here tell me where will i find the generated file of this extension. I couldn't find it in extension.

ghost avatar Mar 23 '19 04:03 ghost