Firefox Browser Add-ons
  • Extensions
  • Themes
    • for Firefox
    • Dictionaries & Language Packs
    • Other Browser Sites
    • Add-ons for Android
Log in
Preview of LocatorHub

LocatorHub by Mahmudul Hasan

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

0 (0 reviews)0 (0 reviews)
1 User1 User
Download Firefox and get the extension
Download file

Extension Metadata

Screenshots
About this extension
🧠 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.
Rated 0 by 0 reviewers
Log in to rate this extension
There are no ratings yet

Star rating saved

5
0
4
0
3
0
2
0
1
0
No reviews yet
Permissions and data

Required permissions:

  • Input data to the clipboard
  • Extend developer tools to access your data in open tabs
  • Access your data for all websites
Learn more
More information
Add-on Links
  • Support Email
Version
1.0.0
Size
1.02 MB
Last updated
2 months ago (Nov 2, 2025)
Related Categories
  • Web Development
License
Mozilla Public License 2.0
Privacy Policy
Read the privacy policy for this add-on
Version History
  • See all versions
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

Browsers

  • Desktop
  • Mobile
  • Enterprise

Products

  • Browsers
  • VPN
  • Relay
  • Monitor
  • Pocket
  • Bluesky (@firefox.com)
  • Instagram (Firefox)
  • YouTube (firefoxchannel)
  • 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.