Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ease use of Chromium-based browsers #2841

Open
aryzing opened this issue Feb 12, 2025 · 0 comments
Open

Ease use of Chromium-based browsers #2841

aryzing opened this issue Feb 12, 2025 · 0 comments
Labels
enhancement New feature or request needs triage Needs avaliation

Comments

@aryzing
Copy link

aryzing commented Feb 12, 2025

Is your feature request related to a problem? Please describe.
On systems that use Chromium-based browsers other than Chrome, WXT fails to start with the error

The CHROME_PATH environment variable must be set to a Chrome/Chromium executable no older than Chrome stable.

Describe the solution you'd like

Provide

  • an option to configure the browser's path
  • an enhanced error message

For the browser path,

  • consider a WXT-specific env variable such as WXT_BROWSER_PATH
  • consider an option to set the path in wxt.config.ts

For the enhanced error message,

  • reference to the docs on how to set up a custom browser path (assuming the above suggestion is implemented)
  • add a short snippet example on how to run with alternative browsers, such as: CHROME_PATH=$(which brave-browser) npm run dev
@aryzing aryzing added enhancement New feature or request needs triage Needs avaliation labels Feb 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request needs triage Needs avaliation
Projects
None yet
Development

No branches or pull requests

1 participant