In Google Chrome, when we inspect the page, and press CTRL+F we have option to find through string: XPath or CSS selector.
In Firefox 57.0.4, but I can select elements using a CSS selector, but not XPath.
Is this disabled in latest Firefox? If not, then how can I use it?
Note: It is now possible to use xpath in firefox.
Firefox built-in DevTools do not support searching for elements by XPath as of version 70. This request is tracked in bug 963933.
As a workaround you can use the $x()
command in the Console.
Related: Why doesn't FirePath work anymore since Firefox 51.0.1?
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With