Is there a way to get the XPath in Google Chrome?

后端 未结 17 2227
暖寄归人
暖寄归人 2020-11-22 13:53

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 tha

17条回答
  •  温柔的废话
    2020-11-22 14:22

    All above answers are correct here is another way with screenshot too.

    From Chrome :

    1. Right click "inspect" on the item you are trying to find the xpath
    2. Right click on the highlighted area on the console.
    3. Go to Copy xpath

提交回复
热议问题