Dodatki za brskalnik Firefox
  • Razširitve
  • Teme
    • za Firefox
    • Slovarji in jezikovni paketi
    • Druge strani brskalnika
    • Dodatki za Android
Prijava
Predogled "Web Element Selector Generator"

Web Element Selector Generator — Cotetiu Madalin

Generate CSS/XPath selectors for elements or a whole page, with ready-to-paste Selenium, Playwright, and Cypress code snippets.

0 (0 ocen)0 (0 ocen)
Prenesite Firefox in pridobite razširitev
Prenesi datoteko

Metapodatki o razširitvi

Posnetki zaslona
O tej razširitvi
Web Element Selector Generator instantly turns any element — or an entire page — into ready-to-use CSS selectors, XPath, and test automation code for Selenium, Playwright, Cypress, and WebdriverIO.

Stop hand-crafting locators in DevTools. Click one element, or scan a whole page at once, and get every selector strategy you need plus copy-paste-ready code in the language and framework you already use — Java, Python, JavaScript/TypeScript, or C#.

PICK AN ELEMENT
• Click an element (with Inspect mode on) or Alt+Click anywhere without blocking navigation
• Right-click any element and choose "Generate selectors for this element"
• Jump straight into Inspect mode with the Alt+Shift+E shortcut

SCAN AN ENTIRE PAGE AT ONCE — NEW
• Open the side panel and scan every link, button, input, form, and test-id-tagged element on the page in a single pass
• Reaches cross-origin iframes, not just your own frame — something most selector tools can't do
• Filter by element category, search by text/tag/selector, and hover any result to highlight it live on the page
• Multi-select elements and export them together as a ready-to-paste Page Object class

GET 8 LOCATOR STRATEGIES PER ELEMENT
• CSS — relative (shortest unique path) and absolute
• XPath — relative and absolute
• CSS attribute-contains and XPath text-contains, for elements with dynamic classes/IDs
• ARIA role/name selector, for accessibility-first testing
• A "recommended" badge automatically highlights the most robust option

GENERATE READY-TO-PASTE TEST CODE — NEW
• Selenium WebDriver: Java, Python, C#, JavaScript
• Playwright: JavaScript/TypeScript, Python, Java, C#
• Cypress and WebdriverIO
• Copy a single locator line, or export a full Page Object class skeleton from a batch of scanned elements

BUILT FOR REAL-WORLD PAGES
• Works inside open shadow roots and same-origin iframes, with clear notes when a selector's scope is limited
• "Validate All" checks every generated selector live against the page and reports match counts
• Keeps a history of your last 25 picks per tab so you can revisit earlier selections
• Configurable attribute priority — prefer data-testid, data-qa, or your own custom attributes
• Export your selection history, or a full page scan, as JSON or CSV

PRIVACY FIRST
Everything runs locally in your browser. No element data, page content, or selectors are ever sent anywhere — history, scan results, and settings are stored only in your own Chrome profile.

Built for QA engineers, SDETs, and automation testers writing Selenium, Playwright, Cypress, or WebdriverIO tests, developers debugging dynamic UIs, and anyone scraping data or auditing pages for accessibility.
Ocena 0 (0 mnenj)
Prijavite se, da ocenite to razširitev
Še ni ocenjeno

Ocena shranjena

5
0
4
0
3
0
2
0
1
0
Še ni ocenjeno
Dovoljenja in podatki

Zahtevana dovoljenja:

  • dostopa do dejavnosti brskalnika med brskanjem
  • dostopa do vaših podatkov za vsa spletna mesta

Zbiranje podatkov:

  • Razvijalec pravi, da ta razširitev ne zahteva zbiranja podatkov.
Več o tem
Več informacij
Povezave dodatka
  • Kopiraj ID dodatka
Različica
1.2
Velikost
37,09 KB
Zadnja posodobitev
pred 4 dnevi (31. jul. 2026)
Sorodne kategorije
  • Razvoj za splet
Licenca
Vse pravice pridržane
Zgodovina različic
  • Ogled vseh različic
Dodaj v zbirko
Prijavi ta dodatek
Pojdi na domačo stran Mozille

Dodatki

  • O strani
  • Blog Dodatkov za Firefox
  • Delavnica razširitev
  • Razvojno središče
  • Pravilniki za razvijalce
  • Blog skupnosti
  • Forum
  • Prijavi hrošča
  • Smernice za ocene

Prenesi

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

Zadnje graditve

  • Nightly
  • Beta

Firefox za podjetja

  • Enterprise

Skupnost

  • Connect
  • Contribute
  • Developer

Sledi

  • Instagram
  • YouTube
  • TikTok
  • Bluesky
  • Podcast
  • Zasebnost
  • Piškotki
  • Pravno obvestilo

Če ni navedeno drugače, je vsebina tega spletnega mesta na voljo pod licenco Creative Commons Attribution Share-Alike v3.0 ali pod katerokoli novejšo različico.