Can i record script by Xpath instead of CSS selector
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
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
Can anyone here tell me where will i find the generated file of this extension. I couldn't find it in extension.