I am unable to add Firebug and Fire path Add-on's to Firefox 58.0 version. And Because of that reason, Xpath's are not available. Able to take relative Xpath. But I want to take both Xpath's.
Asked
Active
Viewed 951 times
-1
-
firebug and fire path is not supported in newer version of firefox. – Murthi Jan 04 '18 at 05:03
1 Answers
0
The Inspector of the Firefox DevTools allows you to copy the absolute XPath of an element via the context menu.
They currently don't allow to copy the relative XPath, though, but there is already an enhancement request filed to add that option.
Having said that, there is also an option to copy the CSS selector path for an element. And as Selenium also supports CSS selectors to choose elements, this is a viable alternative to XPaths in many cases.

Sebastian Zartner
- 18,808
- 10
- 90
- 132