Verify an XPath expression in Chrome Developer Tools
Open Chrome Developer Tools and Console Tab.
Use $x
Function: Simply type $x('your_xpath_here')
in the console. For example:
$x('//h1')
This will return an array of elements that match the XPath query.