Firefox 浏览器附加组件
  • 扩展
  • 主题
    • 适用于 Firefox
    • 字典和语言包
    • 其他浏览器网站
    • 适用于 Android 的附加组件
登录
LocatorHub 预览

LocatorHub 作者: Mahmudul Hasan

A developer extension to capture and generate robust locators (CSS, XPath, attributes) for test automation.

0(0 条评价)0(0 条评价)
5 个用户5 个用户
下载 Firefox 并安装扩展
下载文件

扩展元数据

屏幕截图
关于此扩展
🧠 Overview
LocatorHub is a smart browser extension designed for QA engineers, testers, and developers to simplify web element inspection. With a single click, it identifies, analyzes, and generates the most reliable locators for use in Selenium, Playwright, and Cypress automation scripts.
No more manually searching through HTML or guessing selectors — LocatorHub automatically picks the best locator based on stability, accessibility, and attribute strength.

⚙️ Key Features
🔍 Auto Detect Locators: Instantly extract all possible locators for any element — ID, Name, CSS, XPath, Data-* attributes, and more.
🧩 Framework-Specific Output: Choose your preferred automation tool — Selenium, Playwright, or Cypress — and get the locator in ready-to-use syntax.
🧠 Smart Locator Ranking: Prioritizes stable attributes like data-cy, id, and aria-label over dynamic ones.
📋 One-Click Copy: Copy any locator format directly to clipboard.
🧭 Locator Preview: Highlights the element in real time to confirm accuracy.
⚡ Lightweight & Fast: Runs fully in-browser — no data stored, no external APIs.
🔐 Privacy Friendly: LocatorHub never collects or shares your browsing data.
🧰 Supported Locator Types

CSS Selector
XPath
ID
Name
Class
Data-* attributes (data-cy, data-testid, data-test)
Role / Label / Placeholder (accessibility locators)
Text / Partial Text

🧑‍💻 Supported Frameworks
Selenium (By.ID, By.CSS_SELECTOR, By.XPATH, etc.)
Playwright (locator, getByText, getByRole, getByTestId, etc.)
Cypress (cy.get, cy.contains, cy.xpath, etc.)

🧩 Why Use LocatorHub
Saves hours of manual inspection.
Prevents flaky tests caused by unstable locators.
Designed by QA professionals for QA professionals.
Works seamlessly across all modern browsers.

🧱 Permissions
LocatorHub only requires minimal permissions to:
Access web pages for element inspection.
Display a floating locator panel.

It does not access or store personal data, cookies, or browsing history.
评分 0(1 位用户)
登录以评价此扩展
目前尚无评分

已保存星级评分

5
0
4
0
3
0
2
0
1
0
尚无评价
权限与数据

必要权限:

  • 输入数据到剪贴板
  • 让开发者工具可以存取您打开的标签页中的数据
  • 访问您在所有网站的数据
详细了解
更多信息
附加组件链接
  • 支持邮箱
版本
1.0.0
大小
1.02 MB
上次更新
5 个月前 (2025年11月2日)
相关分类
  • 网页开发
许可证
Mozilla 公共许可证 2.0
隐私政策
阅读此附加组件的隐私政策
版本历史
  • 查看所有版本
添加到收藏集
举报此附加组件
转至 Mozilla 主页

附加组件

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

浏览器

  • Desktop
  • Mobile
  • Enterprise

产品

  • Browsers
  • VPN
  • Relay
  • Monitor
  • Pocket
  • Bluesky (@firefox.com)
  • Instagram (Firefox)
  • YouTube (firefoxchannel)
  • 隐私
  • Cookie
  • 法律

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