Skip to content

Commit

Permalink
fix(browsers-available): note absolute path to Chromium-based browsers (
Browse files Browse the repository at this point in the history
  • Loading branch information
dandv authored Dec 21, 2024
1 parent 45d85a2 commit e2d6287
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions docs/en/docs/browsers/browsers-available.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,19 @@ Extension.js provides support for a variety of browsers, enabling you to easily

## How Does It Work?

To launch your extension in a specific browser, Extension.js uses the browser's binary path to open a new instance with your extension loaded. For supported browsers (Chrome, Edge, Firefox) you can specify the browser to use by passing the `--browser` flag with the desired browser name. For other browsers, you can specify the path to the browser binary using the `--chromium-binary` or `--gecko-binary` flags, depending on the engine used by the browser.
To launch your extension in a specific browser, Extension.js uses the browser's binary path to open a new instance with your extension loaded. For supported browsers (Chrome, Edge, Firefox) you can specify the browser to use by passing the `--browser` flag with the desired browser name. For other browsers, you can specify the absolute path to the browser binary using the `--chromium-binary` or `--gecko-binary` flags, depending on the engine used by the browser.

## Supported Browsers

The following browsers are officially supported by Extension.js:

| Browser | Usage |
| ------------------ | ------------------------------------------------------------- |
| **Chrome** | `extension dev --browser=chrome` |
| **Edge** | `extension dev --browser=edge` |
| **Firefox** | `extension dev --browser=firefox` |
| **Chromium-based** | `extension dev --chromium-binary=chromium-based=browser-path` |
| **Gecko-based** | `extension dev --gecko-binary=gecko-based-browser-path` |
| Browser | Usage |
| ------------------ | --------------------------------------------------------------------- |
| **Chrome** | `npx extension dev --browser=chrome` |
| **Edge** | `npx extension dev --browser=edge` |
| **Firefox** | `npx extension dev --browser=firefox` |
| **Chromium-based** | `npx extension dev --chromium-binary=/path/to/chromium-based-browser` |
| **Gecko-based** | `npx extension dev --gecko-binary=/path/to/gecko-based-browser` |

Any browser based on the Chromium engine (e.g., Brave or Opera) is supported with the same configuration options as Chrome.

Expand Down

0 comments on commit e2d6287

Please sign in to comment.