How to find xpath of an element in firefox inspector

后端 未结 10 730
清酒与你
清酒与你 2020-12-14 05:57

In Firefox 50.1, Firebug is no longer available so I have to use the inspector but I cannot find copy ---> xpath option that was available in Firebug. How can I find the xpa

10条回答
  •  暖寄归人
    2020-12-14 06:52

    You can use the console to check if the xpath you want return the correct element or not. $x("//div/xpath") https://developer.mozilla.org/en-US/docs/Tools/Settings

提交回复
热议问题