代码之家  ›  专栏  ›  技术社区  ›  Andy Williams

具有类似Firebug/FirePath的镀铬工具的可比搜索框

  •  1
  • Andy Williams  · 技术社区  · 7 年前

    是否有一些类似于Chrome中下面的屏幕截图的工具(下面的屏幕截图是firebug/firepath)我喜欢用户如何将xpath字符串放置在搜索框中,当用户键入匹配的内容时,它会高亮显示。

    enter image description here

    1 回复  |  直到 7 年前
        1
  •  2
  •   Sebastian Zartner Emmanouil Chountasis    7 年前

    Chrome开发工具在其检查器中集成了对XPath搜索的支持。只要按一下 Ctrl键 + F 要打开搜索并开始键入XPath,请执行以下操作:

    XPath search in Chrome DevTools Inspector

    不过Firefox开发工具尚未提供此功能 there's a request for it .

    不过,这两种工具都允许搜索CSS选择器。