Firefox Browser Add-ons
  • Extensions
  • Themes
    • for Firefox
    • Dictionaries & Language Packs
Log in
Preview of LocatorLens – Smart Locator Automation

LocatorLens – Smart Locator Automation by Yogesh

Inspect any element for ranked, uniqueness-checked locators and record flows into runnable Playwright, Selenium, Cypress or WebdriverIO tests (TypeScript, JavaScript, Python, Java, C#). Works in iframes and shadow DOM. Runs locally, no account.

5 (1 review)5 (1 review)
42 Users42 Users
Download Firefox and get the extension
Download file

Extension Metadata

About this extension
Locatra helps QA engineers and developers write end-to-end tests faster. Point at any element to get locators that are ranked, checked for uniqueness against the live page, and ready to paste, or record a flow and get a runnable test.

INSPECT ANY ELEMENT
• Hover and click an element to see ranked locators: test id, role and accessible name, label, placeholder, text, CSS and XPath.
• Every locator is checked against the page, so you can see whether it matches exactly one element.
• Works inside iframes (including cross-origin payment frames) and open shadow DOM.
• Move to the parent or child element with ▲ / ▼, or press Alt+Shift+E on any page.

YOUR FRAMEWORK, YOUR LANGUAGE
• Playwright, Selenium, Cypress and WebdriverIO, in TypeScript, JavaScript, Python, Java and C#.
• Locators read naturally in each framework. Selenium gets By.id("email") when the element has an id, instead of a long XPath.

RECORD AND REPLAY
• Record clicks, typing, selects, checkboxes, keys and assertions into a complete test script (Alt+Shift+K).
• Replay the flow in the page step by step to check it before you export it.
• Passwords, one-time codes and card numbers are never recorded: the test reads them from environment variables.
• Typed values can become test data, and suggested assertions (page changed, message shown) are one click away.

PAGE OBJECTS, SELECTOR LAB AND HEALTH CHECK
• Export a Page Object class for a form or a whole page.
• Selector Lab: paste a CSS selector, XPath or Playwright locator and see what it matches.
• Watch the locators your tests rely on and re-check them with one click when the page changes.

PRIVATE BY DESIGN
• Everything runs locally in your browser. No account, no server, no analytics.
• The extension contains no network code, and its source is public: https://github.com/yogesh-bhatttk/Locator_Lens
Rated 5 by 1 reviewer
Log in to rate this extension
There are no ratings yet

Star rating saved

5
1
4
0
3
0
2
0
1
0
Read 1 review
Permissions and data

Required permissions:

  • Access your data for all websites

Optional permissions:

  • Access your data for all websites

Data collection:

  • The developer says this extension doesn't require data collection.
Learn more
More information
Add-on Links
  • Support site
  • Support Email
  • Copy add-on ID
Version
1.5.0
Size
363.38 KB
Last updated
11 hours ago (Oct 11, 2026)
Related Categories
  • Web Development
  • Search Tools
License
MIT License
Version History
  • See all versions
Tags
  • search
Add to collection
Report this add-on
Go to Mozilla's homepage

Add-ons

  • About
  • Firefox Add-ons Blog
  • Extension Workshop
  • Developer Hub
  • Developer Policies
  • Community Blog
  • Forum
  • Report a bug
  • Review Guide

Download

  • Download Firefox
  • Windows
  • macOS
  • iOS
  • Android
  • Linux
  • All

Latest Builds

  • Nightly
  • Beta

Firefox for Business

  • Enterprise

Community

  • Connect
  • Contribute
  • Developer

Follow

  • Instagram
  • YouTube
  • TikTok
  • Bluesky
  • Podcast
  • Privacy
  • Cookies
  • Legal

Except where otherwise noted, content on this site is licensed under the Creative Commons Attribution Share-Alike License v3.0 or any later version.