web analytics

Google Chrome Supports XPath in its Development Tools

Options

codeling 1595 - 6639
@2016-01-19 20:18:19

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.

 

 

Comments

You must Sign In to comment on this topic.


© 2024 Digcode.com