Xpather EN
SpinTax · EEdge MV3
Find, generate and test XPath expressions. Smart variants, element picker, zero telemetry.
截图
简介
Xpather generates multiple XPath variants for any element on the page and lets you test expressions in real time — all in a side panel that stays open while you work.
USE CASES
- Write web scrapers and need reliable selectors
- Debug page structure and DOM hierarchy
- Build test automation with XPath locators (Selenium, Playwright, Puppeteer)
- Learn XPath syntax on real pages
- Quickly find and copy the shortest unique path to any element
HOW IT WORKS
1. Open Xpather from the toolbar icon or press Ctrl+Shift+X (Cmd+Shift+X on Mac).
2. Click "Pick element" or hold Alt and hover over the page — the element under the cursor is highlighted in real time.
3. Alt+click to select. Xpather instantly generates up to 7 XPath variants for that element.
4. Copy the one you need in one click or edit it manually to test.
XPATH STRATEGIES
- By ID — uses the element's id attribute for a direct, unique selector
- By data-* — targets data attributes (data-testid, data-qa, etc.)
- By attribute — builds a selector from any distinguishing attribute
- By text — matches elements by their visible text content
- By class — uses CSS class names to locate the element
- Shortest path — the most concise unique XPath from the root
- Absolute path — full path from html to the target element
Each variant shows a "Best" badge when it produces a unique match. You always know which selector is the most reliable.
FEATURES
- Element picker: Alt+hover to highlight, Alt+click to select, Esc to cancel
- Live evaluation: type or paste any XPath and see matches highlighted on the page
- Match counter: shows how many nodes match the expression
- DOM preview: inspect the matched node's tag, attributes, and text
- One-click copy to clipboard
- Side panel mode: pin Xpather to the browser side panel for hands-free workflow
- Keyboard shortcut: Ctrl+Shift+X to toggle the picker without touching the mouse
- Dark and light theme
- English and Russian localization
PRIVACY
- Zero network requests — works entirely offline
- Zero telemetry, analytics, or tracking
- No accounts, no sign-in
- All data stays in your browser
- Open source: https://github.com/investblog/xpather
Xpather 是做什么的
Xpather 是一款面向 Edge 的实用工具类扩展,主要用来解决浏览器里某类具体的小问题。官方对它的介绍是:Find, generate and test XPath expressions. Smart variants, element picker, zero telemetry.在微软 Edge 加载项商店上,它当前版本 1.0.0,约 67 名用户。
适合什么人用
从功能定位看,Xpather 更适合想补上浏览器原生缺失功能的用户。如果你平时只是偶尔遇到相关需求,用浏览器自带功能也能凑合;但如果这件事每天都发生,装一个专门处理它的扩展通常比手动操作省事得多。
怎么安装 Xpather
- 打开微软 Edge 加载项商店上的官方页面;
- 点「添加到浏览器」并确认权限提示;
- 装好后在扩展列表里固定图标,方便随时开关。
本站只做索引与介绍,安装包来自官方商店。如果商店页面提示当前地区不可用,说明该扩展未在你所在区域上架。
常见问题
Xpather 是免费的吗?
Xpather 在微软 Edge 加载项商店免费提供下载。它是浏览器扩展,装上就能直接用,不需要注册账号。
Xpather 安全吗?
它只申请了 0 项权限,范围比较克制,没有申请「读取所有网站数据」这种大权限。
Xpather 支持哪些浏览器?
当前收录的版本来自微软 Edge 加载项商店,适用于 Edge。同一个扩展在其他商店可能有对应版本,但功能与版本号不一定相同。
怎么卸载 Xpather?
在扩展管理页找到 Xpather,点移除即可。它在本地保存的设置会一起清掉,不会残留数据。
权限清单 来自 manifest.json 原文
接口权限 4
activeTabscriptingsidePanelwebNavigation