1

Is there some comparable tool to the below screenshot in Chrome (screenshot below is firebug/firepath) I liked how the user can place the string of the xpath in the search box and as the user types if something matches it would highlight.

enter image description here

4

1 回答 1

2

Chrome DevTools 在其检查器中集成了对 XPath 搜索的支持。只需按Ctrl+F打开搜索并开始输入您的 XPath:

Chrome DevTools Inspector 中的 XPath 搜索

Firefox DevTools 尚未提供此功能,尽管有要求

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

于 2017-11-09T06:40:33.773 回答