use XPath in browsers devtools

You can exe­cute the XPath selec­tors in the browser dev tools using the

$x()

For exam­ple, fol­low­ing selec­tor will give you all the anchor tags on the webpage.

$x('//a');

Fur­ther Reading :


You may also like...