Safari Web Inspector allows you to execute XPath queries from the search box:

But the box is too small! You can use it, but not conveniently.
Is it possible to execute an XPath request from the command line shown at the bottom of the screenshot?
source
share