You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Feature] Allow to opt out driver installation when running as a client #467
This applies to a typical production environment, where a service hosts browsers for general purposes that different client applications can use. Giving clients an option not to bundle drivers has a few nice properties:
Less dependency and easier to be integrated. Packaging a different runtime and drivers can be difficult if existing tooling/platform/dependencies are not compatible, not to mention upgrade. With a thin client approach, only server needs to worry about all the dependencies, clients are just pure Java, Python libraries can be integrated anywhere.
Avoid leaking unmanaged resources, in the Java case, those outside of Jvm due to ProcessBuilder. That improves reliability.
This is a great library, we were very happy with the result we see during prototyping, but hesitated when productionizing it. Removing barriers like these could significantly help the reach.
The driver packaging has been reworked to make the bundled Node.js optional.
What changed (#1936, ships in the next release): the platform-independent driver code (the playwright-core package) now lives in the driver artifact, while driver-bundle holds only the Node.js binaries.
There is now a way to slim down the driver footprint: if a Node.js is present on the host, set PLAYWRIGHT_NODEJS_PATH and exclude driver-bundle, no Node.js binaries are downloaded at all (~190 MB saved):
Activity
yury-s commentedon Jun 19, 2026
The driver packaging has been reworked to make the bundled Node.js optional.
What changed (#1936, ships in the next release): the platform-independent driver code (the
playwright-corepackage) now lives in thedriverartifact, whiledriver-bundleholds only the Node.js binaries.There is now a way to slim down the driver footprint: if a Node.js is present on the host, set
PLAYWRIGHT_NODEJS_PATHand excludedriver-bundle, no Node.js binaries are downloaded at all (~190 MB saved):Closing this issue as there is no plan to get rid of the driver completely.