Google Chrome Supports XPath in its Development Tools Options

codeling Posts: 1057 Points: 4443
Posted: Tuesday, January 19, 2016 8:18:19 PM

Google Chrome supports XPath in its development tools mode. Here is the steps to do so:

Start Google Chrome, and open a website.

Open Developer Tools by clicking the icon right beside the URL box, then select More tools -> Developer tools:

Select Console tab.

Type $x token. For example, $x("//a") will select all hyperlinks in the current page.



Users browsing this topic