I have a webpage I want to use with YQL. But I need the XPath of a specific item. I can see it in the debug tools area for Google Chrome but I don't see a way to copy that XPath.
Is there a way to copy a full XPath?
google-chromegoogle-chrome-devtools
I have a webpage I want to use with YQL. But I need the XPath of a specific item. I can see it in the debug tools area for Google Chrome but I don't see a way to copy that XPath.
Is there a way to copy a full XPath?
Best Answer
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