I am a beginner to automated testing. I cannot find Firebug and Firepath on Firefox add ons. so What are the alternatives to FirePath and Firebug with the Firefox?


  • 1
    why you want firepath and firebug while you can use inspect element
    – Rao
    Jan 2, 2019 at 12:23
  • 1
    Just learn to use the Inspect Element functionality & brush-up on your CSS & XPath selectors. Those plugins are useless...
    – iamdanchiv
    Jan 2, 2019 at 13:00

1 Answer 1


Essentially the functionality is now present in Firefox.

The official advice is to use this: https://developer.mozilla.org/en-US/docs/Web/API/Document/evaluate

You can read about that here: https://hacks.mozilla.org/2017/10/saying-goodbye-to-firebug/

Where they note:

The process of unifying Firebug with the rebuilt devtools was completed with the release of Firebug 3 (aka Firebug.next) in 2015. This prototype was built as an extension to built-in Firefox devtools and eventually integrated directly into devtools. You can learn about how to migrate from Firebug. You can try Firefox Developer Tools by updating your release browser or downloading Developer Edition.

The migration path is detailed here: https://developer.mozilla.org/en-US/docs/Tools/Migrating_from_Firebug

Using evaluate is basically executing your xpath via Javascript.

Alternatively You can use Chrome, which like the newer Firefox, has direct Xpath support built in. The search box in the inspector supports Xpath so you can work it out in Chrome and then use it in Firefox as the resulting Xpath should be the same for both Firefox and Chrome. And Chrome as ever supports right clicking on an element and you can then "Copy as Xpath". But those generated Xpaths are brittle, so avoid.

Fundamentally the best thing to do is to learn about Xpathsm then tools like Firepath lose most of their value: https://www.guru99.com/xpath-selenium.html

  • 1
    While this is an adequate answer, you could make it an excellent answer by adding a summary of the official advice to your answer so that it will remain relevant should the link ever die or change.
    – Kate Paulk
    Jan 2, 2019 at 13:08

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.