Selector Generator (XPath/CSS) Firefox

Examine source code of Selector Generator (XPath/CSS)

Inspect and view changes in Selector Generator (XPath/CSS) source codes across current and past versions
Please login to examine the extension's source code.
manifest.json
{
  "manifest_version": 3,
  "name": "Selector Generator (XPath/CSS)",
  "version": "1.0.0",
  "description": "Pick an element and generate XPath or CSS. Prefers data-test attributes, falls back to label-like text.",
  "action": {
    "default_title": "Generate selector",
    "default_popup": "public/popup.html"
  },
  "background": {
    "scripts": [
      "dist/background.js"
    ]
  },
  "content_scripts": [
    {
      "matches": [
        "<all_urls>"
      ],
      "js": [
        "dist/content.js"
      ],
      "run_at": "document_start"
    }
  ],
  "permissions": [
    "activeTab",
    "contextMenus",
    "scripting",
    "storage"
  ],
  "icons": {
    "16": "icons/logo16.png",
    "48": "icons/logo48.png",
    "128": "icons/logo128.png"
  },
  "browser_specific_settings": {
    "gecko": {
      "id": "@xpath-css-selector-generator",
      "strict_min_version": "121.0",
      "data_collection_permissions": {
        "required": [
          "none"
        ]
      }
    }
  }
}

Best Selector Generator (XPath/CSS) Alternatives

Here are some Firefox add-ons that are similar to Selector Generator (XPath/CSS):