Install an add-on from a file
browser_install_addonInstalls a Firefox extension from a local .xpi file or unpacked directory, enabling add-on setup for testing and automation. Use a readable path, then verify with add-on listing.
Instructions
Install an extension from a local .xpi file or an unpacked extension directory (AddonManager.getInstallForFile). The path must exist and be readable by Firefox. Most add-ons work immediately; some need a restart. Confirm with browser_list_addons, then use browser_set_addon_state to enable or disable it, or browser_uninstall_addon to remove it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute path of the .xpi, or of an unpacked extension directory |