今天在chrome调试的时候想用一下以前firefox的Firefinder插件,作用是可以根据css选择选中dom元素,在chrome商店里找了一下没有,最后在官网最后发现:
https://developers.google.com/chrome-developer-tools/docs/elements
The Elements panel supports XPath and CSS selectors as queries, in addition to plain text. All search results are highlighted in the DOM tree, the first match is revealed and selected.
chrome的Elements面板的搜索竟然原生支持选择器,实在是太牛B了,这个功能以前都没有发现过。