馃殌 Feature Request
The current experience is:
Playwright.create() calls Driver.ensureDriverInstalled, which installs all browsers
The net effect is that you are downloading all browsers including the ones you don't need, which is not only a waste of time/space/bandwidth, but also will crash if for instance "Playwright does not support chromium on ubuntu20.04-x64" (my exact case). But I don't use Chromium.
Instead, the current experience should be:
Playwright.firefox() checks for / installs Firefox
Example
No response
Motivation
I know there is a workaround, which is to install the browsers manually via mvn, and use PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD. But that's what it is: a workaround, which is a bit tedious, and should not be necessary. The experience should be great by default.
馃殌 Feature Request
The current experience is:
Playwright.create()callsDriver.ensureDriverInstalled, which installs all browsersThe net effect is that you are downloading all browsers including the ones you don't need, which is not only a waste of time/space/bandwidth, but also will crash if for instance "Playwright does not support chromium on ubuntu20.04-x64" (my exact case). But I don't use Chromium.
Instead, the current experience should be:
Playwright.firefox()checks for / installs FirefoxExample
No response
Motivation
I know there is a workaround, which is to install the browsers manually via mvn, and use
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD. But that's what it is: a workaround, which is a bit tedious, and should not be necessary. The experience should be great by default.