Extract XPath locators from any web page for any test automation framework
Users
52
+4 in 30 days
Rating
5.0 / 5
unchanged in 30 days
Ratings
1
0 in 30 days
Store rank
#107K
#89K among extensions
Version
1.0.1
updated 22 May 2026
Users
monthly, 5 months
Latest, 16 Oct 2026:52 usersMove the mouse over the chart for any month
Ratings count
monthly, 5 months
Latest, 16 Oct 2026:1 ratingsMove the mouse over the chart for any month
The Chrome Web Store rounds user counts down to the leading digit, so the user line moves in steps. The ratings count is exact and is the better signal of real adoption.
About Locator Lens
Locator Lens is a lightweight, high-performance developer tool designed specifically for QA engineers, automation testers, and developers. Stop wasting time manually inspecting elements or dealing with fragile, auto-generated framework IDs. Locator Lens scans your active web page and builds a robust repository of stable, production-ready locators in seconds.
Whether you rely on Selenium, Playwright, Cypress, or pytest-bdd, Locator Lens exports perfectly formatted code modules tailored directly to your test automation frameworks.
🔥🔥 KEY FEATURES 🔥🔥
🔹 Multi-Format Support
Instantly generate and switch between three major locator formats with a single click:
• Optimized XPaths (leveraging human-authored attributes, stable text, and ARIA labels).
• Clean CSS Selectors.
• Native Playwright Locators (using text, role, placeholders, labels, and test IDs).
🔹 Intelligent Framework Guardrails
Tired of dynamic IDs breaking your test suites? Locator Lens features an intelligent, multi-layered filter that auto-detects and eliminates unstable, framework-generated IDs and hashes from popular modern UI libraries, including:
• React (including useId hooks)
• Angular & Vue
• Ant Design (custom fallback patterns for forms, inputs, and selectors)
• Mantine, Chakra UI, Radix UI, and Headless UI
• Generic UUIDs and random trailing counter suffixes
🔹 Privacy & Security First
Locator Lens runs entirely on your local machine using Chrome's local storage capabilities. No analytics tracking, no external server pings, and zero data collection.
💡 HOW TO USE IT:
1. Navigate to the web application page you wish to test.
2. Click the Locator Lens icon in your toolbar.
3. Click "Extract Locators" to instantly parse the page.
4. Open the full-page portal to review, filter, copy, or export your production-ready automation locators!
Note: Due to browser security guardrails, extension scripting is restricted on native Chrome system pages (chrome://), the Chrome Web Store, and Google account login screens.