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

后端 未结 17 2243
暖寄归人
暖寄归人 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:19

    press Cntl + Shift + C
    select the element you wish to get its XPath by clicking on it
    right click on the highlighted part in the console
    copy -> copy XPath

提交回复
热议问题