Skip to content

[Feature]: Minimal Driver-Only Bundle for Playwright Java #1845

@ksn5

Description

@ksn5

🚀 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.0

Motivation

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions