How to find xpath of an element in firefox inspector

后端 未结 10 739
清酒与你
清酒与你 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条回答
  •  旧时难觅i
    2020-12-14 06:51

    In Firefox you can use the web developer tools console for xpath validation like this:

    1.Open Web Developer tools.

    2.Click on Console

    3.Type $x("path")

    This should let you validate that your path is valid.

提交回复
热议问题