如何使用firebug函数查找选定的元素xpath

How to find the selected element xpath using firebug function?

本文关键字:元素 xpath 查找 何使用 firebug 函数      更新时间:2023-09-26

firebug插件或建议我任何其他方法来查找所选元素xpath

您链接到的代码是Xpath.getElementTreeXPath()函数。

当您右键单击HTML面板中的元素并选择Copy XPath时,该函数将被调用。