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

[Feature] playwright install installs all default browser even if it is called from playwright-chromium #14862

Closed
sapphi-red opened this issue Jun 14, 2022 · 2 comments

Comments

@sapphi-red
Copy link

sapphi-red commented Jun 14, 2022

playwright install installs not only chromium (firefox, webkit) even if the playwright command exists in playwright-chromium.
If playwright-chromium is installed instead of playwright, user will only use chromium. So I think it makes sense to only install chromium by default.

To reproduce

cd /foo # an empty directory
npm i playwright-chromium
npx playwright install
@mxschmitt
Copy link
Member

After a discussion with the team it is for now expected that all browsers get installed when not specifying a browser name.

We recommend passing chromium manually for now: npx playwright install chromium or migrating to the playwright-core package, so you don't have a postinstall step at all and can manually decide which browser you want to install.

@pavelfeldman
Copy link
Member

Why was this issue closed?

Thank you for your contribution to our project. This issue has been closed due to its limited upvotes and recent activity, and insufficient feedback for us to effectively act upon. Our priority is to focus on bugs that reflect higher user engagement and have actionable feedback, to ensure our bug database stays manageable.

Should you feel this closure was in error, please create a new issue and reference this one. We're open to revisiting it given increased support or additional clarity. Your understanding and cooperation are greatly appreciated.

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

No branches or pull requests

5 participants