Extensões do Navegador Firefox
  • Extensões
  • Temas
    • Firefox
    • Dicionários e Pacotes de Idioma
    • Outros navegadores
    • Extensões para Android
Entrar
Pré-visualização de LocatorLens – Smart Locator Automation

LocatorLens – Smart Locator Automation por 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 avaliações)0 (0 avaliações)
Baixe o Firefox e instale a extensão
Baixar arquivo

Metadados da extensão

Sobre esta extensão
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.
Avaliado em 0 por 1 revisor
Identifique-se para avaliar esta extensão
Ainda não existem avaliações

Avaliação salva

5
0
4
0
3
0
2
0
1
0
Ainda sem análises
Permissões e dados

Permissões necessárias:

  • Acessar as abas do navegador
  • Acessar seus dados em todos os sites visitados

Permissões opcionais:

  • Acessar seus dados em todos os sites visitados

Coleta de dados:

  • O desenvolvedor afirma que esta extensão não requer coleta de dados.
Saiba mais
Mais informações
Links da extensão
  • Site de suporte
  • Email de suporte
Versão
1.1.3
Tamanho
67,77 KB
Ultima atualização
há 17 dias (6 de abr de 2026)
Categorias relacionadas
  • Desenvolvimento Web
  • Ferramentas de pesquisa
Licença
Licença MIT
Histórico de versões
  • Ver todas as versões
Etiquetas
  • search
Adicionar a uma coleção
Denunciar esta extensão
Ir para a página inicial da Mozilla

Extensões

  • Sobre
  • Blog de extensões do Firefox
  • Workshop de extensões
  • Central do desenvolvedor
  • Diretivas do desenvolvedor
  • Blog da comunidade
  • Fórum
  • Relatar um erro
  • Guia de análise

Navegadores

  • Desktop
  • Mobile
  • Enterprise

Produtos

  • Browsers
  • VPN
  • Relay
  • Monitor
  • Pocket
  • Bluesky (@firefox.com)
  • Instagram (Firefox)
  • YouTube (firefoxchannel)
  • Privacidade
  • Cookies
  • Jurídico

Exceto onde de outra forma notado, o conteúdo deste site está licenciado sob a Creative Commons Licença de Atribuição Compartilha-Igual v3.0 ou qualquer versão posterior.