Last Updated: February 25, 2016
·
8.696K
· leesmith

Run xpath queries from Chrome's console

Run xpath queries on the current page directly from Chrome's console:

Open the console (command-option-J on a Mac) and use the $x("") token, placing your query inside the double quotes. Hit Enter to run the query.