-
-
Notifications
You must be signed in to change notification settings - Fork 170
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
Add only-shell option to run options #518
Add only-shell option to run options #518
Conversation
run_test.go
Outdated
err = driver.Install() | ||
require.NoError(t, err) | ||
|
||
err = driver.Uninstall() | ||
require.NoError(t, err) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am a little uncertain on how I should be checking if only the shell browser is installed. I thought about checking through the logs like the test above does, but that could cause problems if upstream playwright repo changes how anything is logged.
You can check the stdout, it should contain |
@canstand I have implemented what you suggested. It appears to be working and have pushed up the commits. |
@canstand Could I get a tag with this in it? |
Done |
I am looking to add the feature defined in the docs here: https://playwright.dev/docs/browsers#optimize-download-size-on-ci so that I can reduce the amount of space used by downloading browsers. I only need to use the shell.