XPath Helper makes it easy to extract, edit, and evaluate XPath queries on any webpage.
IMPORTANT: After installing this extension, you must reload any existing tabs or restart Chrome for the extension to work.
Instructions:
1. Open a new tab and navigate to any webpage.
2. Hit Ctrl-Shift-X (or Command-Shift-X on OS X), or click the XPath Helper button in the toolbar, to open the XPath Helper console.
3. Hold down Shift as you mouse over elements on the page. The query box will continuously update to show the XPath query for the element below the mouse pointer, and the results box will show the results for the current query.
4. If desired, edit the XPath query directly in the console. The results box will immediately reflect your changes.
5. Repeat step (2) to close the console.
If the console gets in your way, hold down Shift and then move your mouse over it; it will move to the opposite side of the page.
One word of caution: When rendering HTML tables, Chrome inserts artificial
tags into the DOM, which will consequently show up in queries extracted by this extension.
按某个键后xpath会从默认的上方突然跑到屏幕下方,有人知道如何恢复位置吗?
Very useful. My suggestion: let it create a XPath and then edit that XPath inside the textbox.
No longer works. Clicking the toolbar icon does nothing.
Thank you for the excellent working to use Shift key to select path in order to be more patient. Excellent work.
挺好的,比正则舒服多了……正则可读性太差
Не открывается расширение на большинстве сайтов. Пойду устанавливать firefox
not working at all
Granted I only have experience using this XPath tool, but it did exactly what I needed converting lists into exportable tables! Thank you for developing it!
Отличное приложение!
Amazing!
Thanks for all your efforts!
Not working on MacOS Catalina and Chrome 84.0
Great extension, just need to change how to move the XPath window to make it perfect. I regularly lose my work by hovering over with the shift key pressed.
Пол часа пишешь xpath, а потом случайно нажимаешь на Shift чтобы набрать скобочку и все, пиши по новой.. хоть бы ctrl+z какой прикрутить или комбинацией сделать, ctrl+shift например. Очень расстраевает.
挺好用的,但是最近浏览器更新了为什么插件不好用了?点击无反应,反复卸载安装了很多次,还是无法打开
It’s good but doesn’t work on elements inside iframes. Please suggest on how to make this work inside iframes.
A simple, but very useful tool. The UI of course is very basic, but developers won’t have difficulties using it.
Очень помогло на стадии изучения XPath селекторов. А главное, динамически все сам подхватывает. Спасибо!
想不到还有这么好用的东西,现在才发现,这个真的挺方便的
很有用,很难用
不知道为什么,一会能用一会又用不了
太好用了,这样爬虫就轻松多了,非常感谢作者。
it’s great!
Unable to set the location of the software in the browser
Not Work
Doesn’t work. Install > Reload > nothing.