You can use $x in the Chrome javascript console. No extensions needed.
ex: $x(“//img”)
Also the search box in the web inspector will accept xpath
Right click on the node => “Copy XPath”
by James Palmer
You can use $x in the Chrome javascript console. No extensions needed.
ex: $x(“//img”)
Also the search box in the web inspector will accept xpath
Right click on the node => “Copy XPath”