-
Notifications
You must be signed in to change notification settings - Fork 250
Description
🚀 Feature Request
In remote/CDP-only setups (e.g., chromium().connectOverCDP()
), Playwright Java only needs the driver binary, not bundled browser binaries.
Currently, driver-bundle includes all browsers (~200 MB), causing heavy downloads and disk usage across multiple machines in scaled environments.
Proposal
Publish a new lightweight Maven artifact (e.g., playwright-driver-only) that contains only the Playwright driver (~1 MB) without browsers. Optionally provide platform-specific variants (linux, windows, mac).
Benefits
- Removes unnecessary 200 MB downloads/extractions.
- Faster builds and provisioning in CI/CD or containerized environments.
- Ideal for large-scale remote/CDP-based automation.
Example
com.microsoft.playwright playwright-driver-only 1.55.0Motivation
driver-bundle
currently includes all browser binaries (~200 MB), even when only the driver is needed for remote/CDP connections (chromium().connectOverCDP()
).
A lightweight driver-only artifact (~1 MB) would remove unnecessary downloads, speed up CI/CD provisioning, and save disk space in large-scale remote setups.