Xpather av 301.st
Find, generate and test XPath expressions. Pick any element — get up to 7 strategies ranked by uniqueness. Zero telemetry, fully local.
1 användare1 användare
Metadata för tillägg
Skärmbilder
Om detta tillägg
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
⚙️ How It Works
📋 XPath Strategies
Each variant shows a "Best" badge when it produces a unique match.
✨ Features
🔒 Privacy
🎯 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
- Open Xpather from the toolbar icon or press Ctrl+Shift+X (Cmd+Shift+X on Mac).
- Click "Pick element" or hold Alt and hover over the page — the element under the cursor is highlighted in real time.
- Alt+click to select. Xpather instantly generates up to 7 XPath variants.
- 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.
✨ 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
- Keyboard shortcut: Ctrl+Shift+X to toggle the picker
- 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: github.com/investblog/xpather
- Privacy policy: xpather.ru/privacy.html
Betyg 0 av 0 recensenter
Behörigheter och data
Nödvändiga behörigheter:
- Åtkomst till webbläsarens aktivitet under navigering
- Åtkomst till dina data för alla webbplatser
Datainsamling:
- Utvecklaren säger att detta tillägg inte kräver datainsamling.
Mer information
- Länkar för tillägg
- Version
- 1.0.0
- Storlek
- 43,97 kB
- Senast uppdaterad
- för en månad sedan (13 mar 2026)
- Relaterade kategorier
- Licens
- Apache License 2.0
- Sekretesspolicy
- Läs sekretesspolicyn för detta tillägg
- Versionshistorik
- Taggar
- Lägg till i samling
Utvecklaren av det här tillägget frågar att du kan hjälpa till att stödja den fortsatta utvecklingen genom att göra ett litet bidrag.