✅Recently updated
Description
Xpath Forte by Sam - Crafted with Code. Fueled by Passion.
⚠️ Heads-up: After installation, give your browser a quick restart to activate all features smoothly.
Say goodbye to fragile XPath selectors and tedious trial-and-error. XPath Forte by Sam helps developers, testers, and
automation engineers generate the most robust, reliable, and readable XPath, CSS, and Playwright selectors — without
breaking a sweat.
Whether you're building test automation frameworks or debugging DOM elements, XPath Forte delivers context-aware
intelligence to help you navigate even the most complex web structures.
🏆 NEW IN v2.2.0
⭐ Accurate Match Counts — Highlight overlays and extension elements are now fully excluded from evaluate results. What
you see is exactly what your automation framework will match.
⭐ Reliable Escape-to-Close — Escape key now works consistently to close the panel after element selection.
⭐ Session Stability — Re-inspecting elements no longer creates duplicate session indicators or event handlers.
⭐ Icon State Fix — Extension icon now correctly resets when the popup disconnects during an active inspection.
⭐ Improved XPath Generators — buttonWithText now handles <input type="button"> correctly. Multi-class XPath uses stable
contains() conditions instead of brittle exact-match. Heading-context patterns use normalize-space(.) for reliable text
matching.
⭐ Secure Frame Messaging — Cross-frame communication now validates a security token to prevent spoofed messages from
page scripts.
📦 v2.1.0 HIGHLIGHTS
⭐ Playwright Locator Generation — Role-based, label, text, test ID, and attribute locators with stability scoring.
⭐ Right-Click Context Menu — Right-click any element to instantly generate selectors.
⭐ Draggable Panel — Drag the panel anywhere on screen.
⭐ Dark Mode — Automatic system detection or manual toggle.
⭐ Shadow DOM Isolation — Panel no longer inflates match counts.
⭐ Smarter XPath Patterns — Transient CSS classes filtered out. Float-label, heading-relative, and child-aware patterns
added.
⭐ Smooth Transitions — Polished animations on panel open, tab switches, and highlighting.
🔑 CORE FEATURES
✅ 60+ Smart XPath Patterns – ID, class, attributes, text, aria-labels, data-testid, relative anchors, sibling relations,
and more.
✅ Best Locator Engine – Automatically picks the shortest unique stable selector from all XPath, CSS, and Playwright
candidates.
✅ XPath + CSS + Playwright – Three selector types with the same stability scoring, side by side.
✅ Testing Attribute Support – First-class support for data-testid, data-cy, and data-qa conventions.
✅ Stability Scoring – Every selector rated Stable / Moderate / Fragile (0–100). Know which selectors survive the next
deploy.
✅ Match Count Badges – Green = unique. Amber = multiple. Red = none. Instant visual feedback.
✅ Live Evaluate & Test – Paste any XPath, CSS, or Playwright locator and test it live with visual highlighting.
✅ Relative Anchor XPaths – Builds short, resilient paths from the nearest stable ancestor.
✅ Dynamic Stability Detection – Skips auto-generated IDs and framework hashes while keeping legitimate utility classes.
✅ iframe Support – Elements inside nested frames are fully supported.
✅ One-Click Copy – Copy any selector; panel stays open, evaluate input auto-fills for instant verification.
✅ Minimal Permissions – No background access. We only act when you say so.
XPath Forte by Sam isn't just another tool, it's your testing sidekick that tells you exactly which selector to use and why.
Level up your automation game. Write better selectors. Build smarter tests.
Reviews
Loading reviews...
Permissions (3)
Permissions
activeTabℹ Can access the current tab when you click the extension contextMenusℹ Can add items to the right-click menu scriptingℹ Can inject scripts into web pages
Details
| Version | 2.2.0 |
| Updated | Mar 26, 2026 |
| Size | 297KiB |
| First Seen | Mar 30, 2026 |
Popular in developer
GoFullPage - Full Page Screen Capture
by GoFullPage
10M
★ 4.89
developer
10M
★ 4.89
developer
TouchEn PC보안 확장
by 라온시큐어
8M
★ 1.33
developer
8M
★ 1.33
developer
React Developer Tools
by Meta
5M
★ 3.95
developer
5M
★ 3.95
developer
Meta Pixel Helper
by Meta
4M
★ 3.91
developer
4M
★ 3.91
developer
ColorZilla
by colorzilla.com
4M
★ 4.59
developer
4M
★ 4.59
developer
Popular Extensions
Adobe Acrobat: PDF edit, convert, sign tools
by Adobe Inc.
331M
★ 4.40
workflow
331M
★ 4.40
workflow
AdBlock — block ads across the web
by AdBlock
62M
★ 4.48
workflow
62M
★ 4.48
workflow
迅雷下载支持
by Shenzhen Xunlei Network Technology Co., Ltd.
59M
★ 2.77
workflow
59M
★ 2.77
workflow
Grammarly: AI Writing Assistant and Grammar Checker App
by Grammarly
42M
★ 4.50
communication
42M
★ 4.50
communication
Adblock Plus - free ad blocker
by eyeo GmbH
41M
★ 4.39
workflow
41M
★ 4.39
workflow