Archive for October, 2013

XPath evaluating in Chrome

October 23, 2013

IF you need to find HTML elements in a web page via XPath, it’s desirable to do this with an already existing web page in your browser. in Chrome/Chromium this is especially easy. If you open the web developer tools and switch to the console, you can type something like that

$x(“//*[@id=’list’]”) ;

And the browser will return you the found HTML element (or nothing if it does not exist).

Advertisements