# Selector Generator (XPath/CSS)

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

Canonical page: [https://chrome-stats.com/d/selector-generator-xpath-css](https://chrome-stats.com/d/selector-generator-xpath-css)

## Overview

- **ID:** `selector-generator-xpath-css`
- **Platform:** Firefox
- **Type:** Firefox add-on
- **Status:** Available
- **Publisher:** Fhicks1021
- **Category:** web-development,search-tools
- **Daily users:** 6
- **Version:** 1.0.0
- **Last updated:** 2026-03-18
- **First published:** 2026-03-15
- **Size:** 51 KB
- **Data as of:** 2026-09-14
- **Store listing:** [Firefox Add-ons Store](https://addons.mozilla.org/firefox/addon/selector-generator-xpath-css/)
- **Privacy policy:** [https://addons.mozilla.org/firefox/addon/selector-generator-xpath-css/privacy/](https://addons.mozilla.org/firefox/addon/selector-generator-xpath-css/privacy/)

## Description

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

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

## Rankings

- #42,497 — Overall
- #161 — generator
- #204 — label

## Permissions and access

### Permissions

- `activeTab`
- `contextMenus`
- `scripting`
- `storage`

### Content script matches

- `<all_urls>`

## Safety

- **Risk impact:** Moderate risk impact
- **Risk likelihood:** Moderate risk likelihood

### Analysis details

- Allows access to all websites, posing a significant security risk as it can monitor and modify data from any visited site.
- This extension has low user count. Unpopular extensions may not be stable or safe.

> Some risk analysis details are omitted from this free response. [Upgrade to view the full analysis](https://chrome-stats.com/pricing).

## Similar extensions and apps

- [Web Element Selector Generator](https://chrome-stats.com/d/web-element-selector-generator) — 1 users
- [CSS Selector Finder](https://chrome-stats.com/d/css-selector-finder) — 7 users
- [Selectors-Ace](https://chrome-stats.com/d/selectors-ace-by-idrees-kema) — 1 users, 5.00 / 5
- [CSS Selector Generator](https://chrome-stats.com/d/css-selector-generator) — 7 users
- [CSS Selector Capture](https://chrome-stats.com/d/css-selector-capture) — 2 users
- [Element Picker](https://chrome-stats.com/d/element-picker) — 3 users
- [ElemPick - A Selector XPath Element Picker](https://chrome-stats.com/d/elempick) — 223 users, 5.00 / 5
- [Xpather](https://chrome-stats.com/d/xpather) — 6 users
- [Selector Gadget Zen](https://chrome-stats.com/d/selector-gadget-zen) — 82 users, 5.00 / 5
- [SelectorPick](https://chrome-stats.com/d/selectorpick) — 29 users
- [HTML & CSS Extractor - CSS Picker](https://chrome-stats.com/d/html-css-extractor-css-picker) — 70 users
- [Scraping — CSS & XPath finder](https://chrome-stats.com/d/scraping-css-xpath-finder) — 8 users

---

Source: [Chrome-Stats](https://chrome-stats.com/d/selector-generator-xpath-css)
