Facing difficulty to find xpath without firepath in new Firefox version 57.0.
In the new Firefox version, firepath is not supported.
Can anyone please suggest a new way for using xpath?
Facing difficulty to find xpath without firepath in new Firefox version 57.0.
In the new Firefox version, firepath is not supported.
Can anyone please suggest a new way for using xpath?
It's not Firefox, but I like to use Google Chrome for this. Press F12, this opens the developer tools. Then click anywhere in the HTML structure and press Ctrl + F or Cmd + F if you're on a Mac.
In the search bar that appears you can search by XPath, Css selectors or strings. So if you type //div/div/form
for example, you can immediately check if the XPath works.
You can also right click on an element and choose copy > xpath
Step 1: Right click on the web page and click on Inspect Element or Ctrl+Shift+Q How to inspect element
Step 2: Click on inspector Inspector image
Step 3: Verify in console
Temporary solution for a 64 bit Windows OS: Install 46.0.1 firefox 32 bit version on your system. You can use this lower version of browser for debugging xpaths using add-ons.