# Xpather

> Find, generate and test XPath expressions. Pick any element — get up to 7 strategies ranked by uniqueness. Zero telemetry, fully local.

Canonical page: [https://chrome-stats.com/d/xpather](https://chrome-stats.com/d/xpather)

## Overview

- **ID:** `xpather`
- **Platform:** Firefox
- **Type:** Firefox add-on
- **Status:** Available
- **Publisher:** 301.st
- **Category:** web-development,search-tools
- **Daily users:** 4
- **Version:** 1.0.0
- **Last updated:** 2026-03-16
- **First published:** 2026-03-13
- **Size:** 44 KB
- **Data as of:** 2026-09-06
- **Store listing:** [Firefox Add-ons Store](https://addons.mozilla.org/firefox/addon/xpather/)
- **Website:** [https://t.me/traffic301](https://t.me/traffic301)
- **Privacy policy:** [https://addons.mozilla.org/firefox/addon/xpather/privacy/](https://addons.mozilla.org/firefox/addon/xpather/privacy/)

## Description

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.

<strong>🎯 Use Cases</strong>
<ul><li>Write web scrapers and need reliable selectors</li><li>Debug page structure and DOM hierarchy</li><li>Build test automation with XPath locators (Selenium, Playwright, Puppeteer)</li><li>Learn XPath syntax on real pages</li><li>Quickly find and copy the shortest unique path to any element</li></ul>
<strong>⚙️ How It Works</strong>
<ol><li>Open Xpather from the toolbar icon or press Ctrl+Shift+X (Cmd+Shift+X on Mac).</li><li>Click "Pick element" or hold Alt and hover over the page — the element under the cursor is highlighted in real time.</li><li>Alt+click to select. Xpather instantly generates up to 7 XPath variants.</li><li>Copy the one you need in one click or edit it manually to test.</li></ol>
<strong>📋 XPath Strategies</strong>
<ul><li><strong>By ID</strong> — uses the element's id attribute for a direct, unique selector</li><li><strong>By data-</strong>* — targets data attributes (data-testid, data-qa, etc.)</li><li><strong>By attribute</strong> — builds a selector from any distinguishing attribute</li><li><strong>By text</strong> — matches elements by their visible text content</li><li><strong>By class</strong> — uses CSS class names to locate the element</li><li><strong>Shortest path</strong> — the most concise unique XPath from the root</li><li><strong>Absolute path</strong> — full path from html to the target element</li></ul>
Each variant shows a "Best" badge when it produces a unique match.

<strong>✨ Features</strong>
<ul><li>Element picker: Alt+hover to highlight, Alt+click to select, Esc to cancel</li><li>Live evaluation: type or paste any XPath and see matches highlighted on the page</li><li>Match counter: shows how many nodes match the expression</li><li>DOM preview: inspect the matched node's tag, attributes, and text</li><li>One-click copy to clipboard</li><li>Side panel mode: pin Xpather to the browser side panel</li><li>Keyboard shortcut: Ctrl+Shift+X to toggle the picker</li><li>Dark and light theme</li><li>English and Russian localization</li></ul>
<strong>🔒 Privacy</strong>
<ul><li>Zero network requests — works entirely offline</li><li>Zero telemetry, analytics, or tracking</li><li>No accounts, no sign-in</li><li>All data stays in your browser</li><li>Open source: <a href="https://prod.outgoing.prod.webservices.mozgcp.net/v1/4a9452743285ffe8b9bde37b34bd12f39458cbb44396cfec9dca675d7538b6ad/https%3A//github.com/investblog/xpather" rel="nofollow">github.com/investblog/xpather</a></li><li>Privacy policy: <a href="https://prod.outgoing.prod.webservices.mozgcp.net/v1/5ad3c49e2dff0595527fb09a28606d282bf04f2f83ed29315808493e70df1644/https%3A//xpather.ru/privacy.html" rel="nofollow">xpather.ru/privacy.html</a></li></ul>

## Rankings

- #49,681 — Overall
- #224 — weather

## Permissions and access

### Permissions

- `activeTab`
- `scripting`
- `webNavigation`
- `<all_urls>`

### Content script matches

- `*`

## Safety

- **Risk impact:** High risk impact
- **Risk likelihood:** Moderate risk likelihood

### Analysis details

- Allows access to all websites, posing a significant security risk as it can monitor and modify data from any visited site.
- This extension has low user count. Unpopular extensions may not be stable or safe.

> Some risk analysis details are omitted from this free response. [Upgrade to view the full analysis](https://chrome-stats.com/pricing).

## Similar extensions and apps

- [Selector Generator (XPath/CSS)](https://chrome-stats.com/d/selector-generator-xpath-css) — 7 users
- [XPath Ultra](https://chrome-stats.com/d/xpath-ultra) — 19 users, 3.67 / 5
- [XPath Studio](https://chrome-stats.com/d/xpath-studio) — 1 users
- [Selectors-Ace](https://chrome-stats.com/d/selectors-ace-by-idrees-kema) — 2 users, 5.00 / 5
- [Scraping — CSS & XPath finder](https://chrome-stats.com/d/scraping-css-xpath-finder) — 6 users
- [ElemPick - A Selector XPath Element Picker](https://chrome-stats.com/d/elempick) — 229 users, 5.00 / 5
- [XPath Highlighter](https://chrome-stats.com/d/xpath-highlighter) — 5 users
- [ZXPath](https://chrome-stats.com/d/zxpath) — 1 users
- [XPath Finder](https://chrome-stats.com/d/xpath-finderggg) — 3 users
- [XPath Helper](https://chrome-stats.com/d/xpath-helper-addon) — 226 users, 2.50 / 5
- [Web Automation Selector Picker](https://chrome-stats.com/d/web-automation-selector-picker) — 17 users
- [CSS Selector Finder](https://chrome-stats.com/d/css-selector-finder) — 7 users

---

Source: [Chrome-Stats](https://chrome-stats.com/d/xpather)
