Додатки браузера Firefox
  • Розширення
  • Теми
    • для Firefox
    • Словники та локалізації
    • Інші сайти браузера
    • Додатки для Android
Увійти
Перегляд LocatorLens – Smart Locator Automation

LocatorLens – Smart Locator Automation автор 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.

0 (0 reviews)0 (0 reviews)
Завантажити Firefox та отримати розширення
Завантажити файл

Метадані розширення

Про це розширення
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.
Rated 0 by 0 reviewers
Увійдіть, щоб оцінити це розширення
Ще немає оцінок

Рейтинг збережено

5
0
4
0
3
0
2
0
1
0
Ще немає відгуків
Permissions and data

Необхідні дозволи:

  • Отримувати доступ до вкладок браузера
  • Отримувати доступ до ваших даних для всіх вебсайтів

Необов'язкові дозволи:

  • Отримувати доступ до ваших даних для всіх вебсайтів

Data collection:

  • The developer says this extension doesn't require data collection.
Докладніше
Більше інформації
Посилання додатка
  • Сайт підтримки
  • Електронна пошта підтримки
Версія
1.1.3
Розмір
67,77 КБ
Востаннє оновлено
3 дні тому (6 квіт 2026 р.)
Пов'язані категорії
  • Інструменти розробника
  • Засоби пошуку
Ліцензія
Ліцензія MIT
Історія версій
  • Переглянути всі версії
Мітки
  • search
Додати до збірки
Повідомити про цей додаток
Перейти на домівку Mozilla

Додатки

  • Про
  • Блог додатків Firefox
  • Семінар з розширень
  • Центр розробника
  • Політики розробників
  • Блог спільноти
  • Форум
  • Повідомити про помилку
  • Настанови з написання відгуків

Браузери

  • Desktop
  • Mobile
  • Enterprise

Продукти

  • Browsers
  • VPN
  • Relay
  • Monitor
  • Pocket
  • Bluesky (@firefox.com)
  • Instagram (Firefox)
  • YouTube (firefoxchannel)
  • Приватність
  • Файли cookie
  • Правові положення

За винятком випадків зазначених тут, вміст цього сайту ліцензовано на умовах ліцензії Creative Commons Attribution Share-Alike License v3.0, або будь-якою новішою версією.