We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
How to pass arguments to the browser executable?
Use case:
For GitHub Actions to work with Playwright, we need to pass --no-sandbox to chromium
--no-sandbox
I think the arguments should be passed somewhere here: https://github.com/mmarkelov/jest-playwright/blob/v0.0.10/src/PlaywrightEnvironment.js#L48
The text was updated successfully, but these errors were encountered:
@tkrotoff you can pass it with jest-playwright.config.js:
module.exports = { launchBrowserApp: { args: ['--no-sandbox'] } }
Sorry, something went wrong.
Note that WebKit will crash when launched with --no-sandbox, which is a valid arg for Chromium only. For now, I recommend using
args: process.env.BROWSER === 'chromium' ? ['--no-sandbox'] : []
Follow this as we look for a better fix: microsoft/playwright#1063
No branches or pull requests
How to pass arguments to the browser executable?
Use case:
For GitHub Actions to work with Playwright, we need to pass
--no-sandbox
to chromiumI think the arguments should be passed somewhere here: https://github.com/mmarkelov/jest-playwright/blob/v0.0.10/src/PlaywrightEnvironment.js#L48
The text was updated successfully, but these errors were encountered: