rickypc / selenium-page-object-generator

A nimble and flexible Selenium Page Object Model generator to improve agile testing process velocity.
https://chrome.google.com/webstore/detail/epgmnmcjdhapiojbohkkemlfkegmbebb
GNU Affero General Public License v3.0
122 stars 66 forks source link

Can i record script by Xpath instead of CSS selector #13

Open iParasJain opened 8 years ago

iParasJain commented 8 years ago

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

ultang commented 6 years ago

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

ghost commented 5 years ago

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