Safari's Web Inspector lets you do XPath queries from the search box:
But the box is too small! You can use it but not comfortably.
Is it possible to do the XPath query from the console prompt shown on the bottom of the screenshot?
I think in the console of Chrome or Firefox or Safari you can evaluate XPath expressions with the function $x
e.g. $x('//span')
selects all span
elements.
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