don't download all of the browsers
See original GitHub issueWe should have a good story using playwright-core to not download any browsers on install, but get them just-in-time when the user wants to run tests in them.
This isn’t trivial because it also has to work on CI, where people expect all of their dependencies to install on npm install
, and then they cache their node modules folder and send it to a computer with no network access. But maybe we can make this the edge case solved via environment flags?
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:6 (5 by maintainers)
Top Results From Across the Web
Can't download anything from any browser on Win 10
I just noticed this yesterday. I tried saving an image from a website on google chrome and nothing happened. I've tried downloading files ......
Read more >Prevent users from downloading harmful files - Chrome ...
Step 1: Review the policy · 3—Blocks all downloads. Not recommended, except for special use cases. · 4—Recommended. Blocks files flagged as DANGEROUS, ......
Read more >Cannot download a file from the Internet? Do this!
1] Check your Internet connection · 2] Clear browser cache · 3] Choose a different download location · 4] Change file name or...
Read more >13 Fixes to Try If You Can't Download on Windows 11
When the downloads are not working, start by checking if you can do that with external programs. · Another great idea is to...
Read more >File will not download from the Support site when using ... - Sony
We are working on a resolution but in the meantime, please use a different browser such as Firefox®, Safari®, or Microsoft Edge to...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
On jest-playwright we solved it by using:
If any of the
playwright-{browserType}
was persistent in thepackage.json
of the project.So the user in the end has to install
playwright-runner
+playwright-chromium
e.g.test runner no longer downloads the browsers: https://playwright.dev/docs/next/test-intro