-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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] Option to install only a selection of browser engines #812
Comments
We have convenience npms playwright-chromium, playwright-webkit and playwright-firefox that only download that single browser. Note that we will change the export signatures for them so that they matched playwright itself (see #814). |
@pavelfeldman how to use playwright-chromium? The README file of it isn't very descriptive. I tried to use it with |
If you are using Playwright Test (@playwright/test) then you only have to do: |
Cool. Thank you very much for your input. Looks like it shipped with: #4952 🎷 |
Is there a command to uninstall other browsers installed by Playwright? |
@gajus Garbage collection happens automatically whenever the installed browser is not used by any other playwright installation. |
Rather than playwright-chromium, playwright-webkit and playwright-firefox, could we get "normally" namespaced packages instead? e.g. |
Currently once you install
playwright
,playwright-core
will be installed, which will install all 3 browser engines (takes quite long). It would be awesome, if we could give somehow the option that only some engines will be installed.Either by specifying it e.g. in the
package.json
or by splittingplaywright-core
up in different packages, which the user has to install. (for webkit, chromium and firefox).The text was updated successfully, but these errors were encountered: