Firefox Browser Add-ons
  • Extensions
  • Themes
    • for Firefox
    • Dictionaries & Language Packs
    • Other Browser Sites
    • Add-ons for Android
Log in
Preview of Selector Generator (XPath/CSS)

Selector Generator (XPath/CSS) by Fhicks1021

Pick an element and generate XPath or CSS. Prefers data-test attributes, falls back to label-like text.

0 (0 reviews)0 (0 reviews)
Download Firefox and get the extension
Download file

Extension Metadata

About this extension
Selector Generator helps QA engineers, automation engineers, and developers capture selectors directly from the page they are inspecting.

Features:
  • Click any element to copy an XPath or CSS selector to the clipboard
  • Prefer stable anchors such as test ids, semantic attributes, and label-like text
  • Save a preferred output mode between XPath and CSS
  • Review the most recent copied selector plus alternatives in the popup
  • Use the context menu to copy a selector from the current page
  • Fail clearly on restricted browser pages instead of leaving the popup in a broken state
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:

  • Access your data for all websites

Data collection:

  • The developer says this extension doesn't require data collection.
Learn more
More information
Add-on Links
  • Support Email
Version
1.0.0
Size
51.21 KB
Last updated
11 days ago (Mar 15, 2026)
Related Categories
  • Web Development
  • Search Tools
License
All Rights Reserved
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.