Firefox 浏览器附加组件
  • 扩展
  • 主题
    • 适用于 Firefox
    • 字典和语言包
登录
LocatorLens – Smart Locator Automation 预览

LocatorLens – Smart Locator Automation 作者: 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 条评价)5(1 条评价)
47 个用户47 个用户
下载 Firefox 并安装扩展
下载文件

扩展元数据

关于此扩展
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
评分 5(1 位用户)
登录以评价此扩展
目前尚无评分

已保存星级评分

5
1
4
0
3
0
2
0
1
0
阅读全部 1 条评价
权限与数据

必要权限:

  • 访问您在所有网站的数据

可选权限:

  • 访问您在所有网站的数据

收集的数据:

  • 开发者称此扩展无需收集数据。
详细了解
更多信息
附加组件链接
  • 用户支持网站
  • 支持邮箱
  • 复制附加组件 ID
版本
1.5.0
大小
363.38 KB
上次更新
2 个月前 (2026年10月11日)
相关分类
  • 网页开发
  • 搜索工具
许可证
MIT 许可证
版本历史
  • 查看所有版本
标签
  • search
添加到收藏集
举报此附加组件
转至 Mozilla 主页

附加组件

  • 关于
  • Firefox 附加组件博客
  • 扩展工坊
  • 开发者中心
  • 开发者政策
  • 社区博客
  • 论坛
  • 报告缺陷
  • 评价指南

下载

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

最新版本

  • Nightly
  • Beta

商用版 Firefox

  • Enterprise

社区

  • Connect
  • Contribute
  • Developer

关注

  • Instagram
  • YouTube
  • TikTok
  • Bluesky
  • Podcast
  • 隐私
  • Cookie
  • 法律

除非另有注明,否则本网站上的内容可按知识共享 署名-相同方式共享 3.0 或更新版本使用。