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

Request: Selective browser install #890

Closed
slang25 opened this issue Oct 1, 2020 · 3 comments
Closed

Request: Selective browser install #890

slang25 opened this issue Oct 1, 2020 · 3 comments
Assignees

Comments

@slang25
Copy link
Contributor

slang25 commented Oct 1, 2020

The playwright sharp tool to install browsers has an install-browsers command, however it would be nice to offer the ability to install a particular browser in the case where you know you will be only using chromium for example.

For me an install-browsers command is sufficient, but I would like to be able to only download what I use. I imagine there will be runtime checks for the presence of the browser regardless of the level of granularity they are acquired.

Pros:

  • Less to download during CI

Cons:

  • Another command
  • More potential to have a mismatch of required browser at runtime, and installed browser

Related: #889

@mxschmitt
Copy link
Member

cc @kblok its now possible by forwarding the browsers as CLI arguments, see here for the implementation: microsoft/playwright#4952

@kblok
Copy link
Contributor

kblok commented Feb 4, 2021

Thanks for the heads up @mxschmitt. We are planning to implement this but not at runtime.

@pavelfeldman
Copy link
Member

Browsers are now opt-in. See https://playwright.dev/dotnet/docs/intro

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

No branches or pull requests

4 participants