LocatorLens – Smart Locator Automation Firefox

LocatorLens – Smart Locator Automation

By: Yogesh
Inspect any element and instantly get ranked, copy-ready Playwright, Selenium, and Cypress locators. Built for QA engineers who want stable, maintainable test automation selectors — not brittle XPaths.

Features & Capabilities

LocatorLens is a precision developer tool built for QA engineers and automation testers. Hover over any element on any webpage, click to capture it, and instantly get ranked, copy-ready locators for Playwright, Selenium, and Cypress — all from one sidebar panel.

⚡ How It Works

Click "Start Inspecting" from the popup or sidebar. Hover over any element — a live overlay highlights it with tag and attribute info. Click to capture — ranked locators appear instantly in the sidebar panel. Copy the best one with a single click. Done. 🛡️ Stability-Ranked Locators Not all locators are equal. LocatorLens automatically ranks every suggestion: • ★ BEST — getByTestId(), getByRole(), getByLabel() — survive UI redesigns. • ✓ GOOD — getByPlaceholder(), getByText(), getByAltText() — reliable with caveats. • ~ OK — CSS ID selectors, name attributes — acceptable fallbacks. • ✗ AVOID — Auto-generated class names (styled-components, MUI, etc.) — flagged with warnings.

🛰️ Multi-Framework Support Switch between Playwright, Selenium, and Cypress with a single dropdown. Locators translate instantly into the correct syntax for your chosen framework.

🧬 Shadow DOM X-Ray LocatorLens pierces Shadow DOM boundaries automatically. The Deep-Trace Engine detects Shadow Roots and generates working locators for encapsulated Web Components that other tools can't reach.

🕹️ DOM Navigation Use Arrow Up/Down keys to traverse parent and child elements — even across Shadow DOM boundaries. Navigate the full DOM tree without leaving the inspector.

🔬 Selector Validation Lab Paste any CSS selector or XPath into the built-in lab. It validates against the live DOM, highlights matching elements, and reports the match count — perfect for debugging flaky selectors.

💡 Why This Exists Brittle locators are the #1 cause of flaky test automation. LocatorLens solves this by always recommending the most stable, semantic locator first — the same way Playwright's own documentation recommends.

🔒 Privacy No data is collected, transmitted, or stored externally. Everything runs locally in your browser. Zero telemetry, zero tracking.

User Growth & Download Statistics

Contact the developer

Chrome-Stats does not own this Firefox add-on. Please use these information below to contact the Firefox add-on developer.
Developed by:
Yogesh
Firefox Add-ons Store
https://addons.mozilla.org/firefox/addon/locatorlens-playwright-tool/
Email:
yo*****@gmail.com
Website:
https://github.com/yogesh-bhatttk/Locators_Lense

User Reviews

made an account to leave a review for this, i appreciate the quality great work you've done with this. truly beautiful. God bless you. Such a great extension!!! :) super reliable.
by Ka*****, 2026-05-17
View all user reviews ›

Is LocatorLens – Smart Locator Automation Safe?

Risk impact
Risk impact measures the level of extra permissions an extension has access to. A low risk impact extension cannot do much harms, whereas a high risk impact extension can do a lot of damage like stealing your password, bypassing your security settings, and accessing your personal data. High risk impact extensions are not necessarily malicious. However, if they do turn malicious, they can be very harmful.

LocatorLens – Smart Locator Automation requires some sensitive permissions that could impact your browser and data security. Exercise caution before installing.

Risk impact analysis details
  • Critical Grants access to browser tabs, which can be used to track user browsing habits and history, presenting a privacy concern.
  • Critical ****** ****** ** *** ********* ****** * *********** ******** **** ** ** *** ******* *** ****** **** **** *** ******* *****
  • High ******* ******* **** *** ****** ***** *** ***** ** ******* **** ********* ********* ** * *********** *****
Risk likelihood
Risk likelihood measures the probability that a Firefox add-on may turn malicious. This is determined by the publisher and the Firefox add-on reputation on Firefox Add-ons Store, the amount of time the Firefox add-on has been around, and other signals about the Firefox add-on. Our algorithms are not perfect, and are subject to change as we discover new ways to detect malicious extensions. We recommend that you always exercise caution when installing a Firefox add-on.

LocatorLens – Smart Locator Automation is probably trust-worthy. Prefer other publishers if available. Exercise caution when installing this add-on.

Risk likelihood analysis details
  • High This extension has low user count. Unpopular extensions may not be stable or safe.
  • Medium **** ********* *** ***** ** *** **** * ******* *** ********** *** *** ** ****** ** *****
  • Low **** ********* *** ******* **** **** * ****** **** ***** ******** *** **** ****** ** ** ****** *** *****
  • Good **** ********* *** **** **** *******
Extension Guard
Extension Guard

Discover every extension in use, analyze risks, and enforce blocking policies with Extension Guard

Secure Your Browser
Upgrade to see full risk analysis details

Best LocatorLens – Smart Locator Automation Alternatives

Here are some Firefox add-ons that are similar to LocatorLens – Smart Locator Automation: