XPath Finder & CSS Selector Generator – XPath Forte
Overview
Generate robust XPath, CSS & Playwright locators with stability scoring. Element inspector for Selenium & Playwright automation.
XPath Forte by Sam - Crafted with Code. Fueled by Passion. Generate stable XPath, CSS, and Playwright selectors in one click and know exactly which one to trust. XPath Forte inspects any element, builds 60+ locator candidates, scores each for stability (0–100), and recommends the single Best Locator that survives your next deploy. Built for Selenium and Playwright test automation, QA engineers, and anyone tired of fragile, trial-and-error selectors including the hard cases like Shadow DOM and iframes. 🔄 After installing, reload any tabs you want to inspect (already-open tabs need a refresh to load the extension). 🏆 NEW IN v2.7.0 ⭐ Honest Best Locator - When nothing on the page matches uniquely, the Best Locator banner now turns amber instead of green, so a "best available" multi‑match pick never masquerades as rock‑solid. The banner and the match badge finally tell the same story. ⭐ Keyboard Pick for Hover‑Only UIs — press Space or Enter to capture the highlighted element without clicking, so dropdown items, tooltips, and hover menus don't vanish the instant you reach to select them. ⭐ Fully Keyboard & Screen‑Reader Accessible - The panel is now a proper ARIA dialog: move between the XPath / CSS / Playwright / Heal / Scan tabs with the arrow keys, reach every control by keyboard, and read comfortably with WCAG‑AA contrast. ⭐ Strongest Selectors First - The XPath tab now leads with the categories that actually hold your unique, high‑stability selectors instead of a fixed order. ⭐ Sharper Stability Scores ⭐ Readable & Reliable - long selectors in the Heal and Scan tabs reveal their full text on hover; the results panel scrolls cleanly with the footer always in view; dark‑mode status pills theme correctly; and switching tabs or windows never leaves a page stuck in crosshair mode. 🔑 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, most stable selector across all XPath, CSS, and Playwright candidates. ✅ XPath + CSS + Playwright - three selector types with the same stability scoring, side by side. ✅ Stability Scoring (0–100) - every selector rated Stable / Moderate / Fragile. Know which ones survive the next deploy. ✅ Match Count Badges - green = unique, amber = multiple, red = none. Instant visual feedback. ✅ Copy-Ready Output - single-quote XPath that drops straight into your test code; one-click copy keeps the panel open and auto-fills the evaluate box. ✅ Shadow DOM & iframe Support - piercing selectors for open Shadow DOM; elements inside nested frames fully supported. ✅ Heal Tab - batch-verify all your selectors in one click. Catch broken locators before your CI pipeline does. ✅ Scan Tab - auto-generate an export-ready locators page for any web page. ✅ Testing Attribute Support - first-class data-testid, data-cy, data-qa, and data-auto. ✅ Live Evaluate & Test - paste any XPath/CSS/Playwright locator and test it live with visual highlighting and auto-scroll. ✅ Context-Aware Generation - form labels, fieldsets, table headers, landmarks, and headings used as intelligent anchors. ✅ Dynamic Stability Detection - skips auto-generated IDs and framework hashes while keeping legitimate utility classes. ✅ Privacy-First, Minimal Permissions - uses activeTab (acts only on the page you invoke it on), no host permissions, no tracking. Nothing leaves your browser. XPath Forte by Sam isn't just another selector tool, it's your testing sidekick that tells you exactly which selector to use, and why. Level up your automation. Write better selectors. Ship smarter tests.
5 out of 52 ratings
Details
- Version2.7.0
- UpdatedAugust 15, 2026
- Size155KiB
- LanguagesEnglish (United Kingdom)
- DeveloperWebsite
Email
mailtosamdaniel@gmail.com - Non-traderThis developer has not identified itself as a trader. For consumers in the European Union, please note that consumer rights do not apply to contracts between you and this developer.
Privacy
This developer declares that your data is
- Not being sold to third parties, outside of the approved use cases
- Not being used or transferred for purposes that are unrelated to the item's core functionality
- Not being used or transferred to determine creditworthiness or for lending purposes