4 ms·
I think you can use it in the browser's inspector.
by zelphirkalt 3y ago
I think you can use it in the browser's inspector.
- palsecam 3y agoYes, you can use `$x("//a/path")`, with (at least) Chrome & Firefox. See https://devhints.io/xpath https://devhints.io/xpath & https://devtoolstips.org/tips/en/evaluate-xpath/ https://devtoolstips.org/tips/en/evaluate-xpath/, and in this thread: https://news.ycombinator.com/item?id=36755041 https://news.ycombinator.com/item?id=36755041
- dusanh 3y agoAnd you can do the same for CSS selectors with $$('foo')!