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

test: add fallback for Playwright-provided browser #3204

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

Lodin
Copy link
Contributor

@Lodin Lodin commented Feb 4, 2025

If you want to get rid of an additional Chrome binary in your node_modules, you can add the following environment variables:

PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD=1
CHROME_BIN=/opt/google/chrome/chrome # or any other path to your Chrome binary

Note: if you have PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD set without CHROME_BIN, it will throw an error.
Note: for this change to take effect you have to run npm ci.

@Lodin Lodin added the hilla Issues related to Hilla label Feb 4, 2025
@Lodin Lodin requested review from platosha, cromoteca and taefi February 4, 2025 12:45
Copy link

sonarqubecloud bot commented Feb 4, 2025

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hilla Issues related to Hilla
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant