Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

If Playwright reports that a browser executable is missing, install the browser binaries for the same Playwright version your project uses. On Linux or CI, include the operating-system dependencies; behind a proxy, configure the proxy and trusted certificates before downloading. The fixes below cover Node.js, Python, Java, .NET, shared browser caches, and CI.

Why Playwright installation fails

Playwright has two parts that are easy to mistake for one: the language package and the browser binaries it controls. Installing or updating the package does not guarantee that the matching browser files are present. Each Playwright release expects specific browser revisions, so installing a new package version can require downloading its browsers again. The official guide states, “Each version of Playwright needs specific versions of browser binaries to operate.” See Playwright browser management.

Other common causes are missing Linux system libraries, blocked or intercepted downloads, browser files stored in a different location than the process expects, and CI jobs that run tests before installing browsers. Diagnose which category applies before reinstalling everything.

1. Check the package version and installed browsers

Run the version command for your language package, then use that same installation to inspect or install browsers. The exact package-manager command depends on the project; the browser commands below assume Playwright is already installed in its environment.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
#1 Best Overall
Philips 24 Inch Computer Monitor FHD 100Hz VA VESA Flicker-Free, 241V8LB
  • CRISP CLARITY: This 23.8″ Philips V line monitor delivers crisp Full HD 1920x1080 visuals. Enjoy movies, shows and videos with remarkable detail
  • INCREDIBLE CONTRAST: The VA panel produces brighter whites and deeper blacks. You get true-to-life images and more gradients with 16.7 million colors
  • THE PERFECT VIEW: The 178/178 degree extra wide viewing angle prevents the shifting of colors when viewed from an offset angle, so you always get consistent colors
  • WORK SEAMLESSLY: This sleek monitor is virtually bezel-free on three sides, so the screen looks even bigger for the viewer. This minimalistic design also allows for seamless multi-monitor setups that enhance your workflow and boost productivity
  • A BETTER READING EXPERIENCE: For busy office workers, EasyRead mode provides a more paper-like experience for when viewing lengthy documents

Node.js

npx playwright --version
npx playwright install --list

Python

python -m playwright --version
python -m playwright install --list

If the list does not include the browser revision needed by your installed Playwright version, install it again. Avoid relying on browser files left by an older version: a package update can change the required revisions. The browser guide documents version-specific browser downloads at playwright.dev/docs/browsers.

2. Install the browser you need

Install all supported browsers when the project needs them, or specify a browser to reduce downloads and setup time. Use the command matching the language binding and environment where tests actually run.

Node.js

# Install the supported browsers
npx playwright install

# Install Chromium only
npx playwright install chromium

Python

# Install the supported browsers
python -m playwright install

# Install Chromium only
python -m playwright install chromium

The Python documentation also supports the playwright install command when the Playwright CLI is on your PATH. If python points to a different environment from the one running your tests, use that environment’s interpreter explicitly (for example, python3 -m playwright install).

Java

Use the Playwright CLI provided by the Maven dependency. The documented Maven invocation is:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
mvn exec:java -e -D exec.mainClass=com.microsoft.playwright.CLI -D exec.args="install"

To install a single browser, pass its name in the CLI arguments, such as install chromium. See the Java browser guide.

.NET

After restoring or building the project, run the Playwright install script generated in the project output. A typical PowerShell command is:

Rank #2
Philips 22 Inch Computer Monitor FHD 100Hz VA VESA Flicker-Free, 221V8LB
  • CRISP CLARITY: This 22 inch class (21.5″ viewable) Philips V line monitor delivers crisp Full HD 1920x1080 visuals. Enjoy movies, shows and videos with remarkable detail
  • 100HZ FAST REFRESH RATE: 100Hz brings your favorite movies and video games to life. Stream, binge, and play effortlessly
  • SMOOTH ACTION WITH ADAPTIVE-SYNC: Adaptive-Sync technology ensures fluid action sequences and rapid response time. Every frame will be rendered smoothly with crystal clarity and without stutter
  • INCREDIBLE CONTRAST: The VA panel produces brighter whites and deeper blacks. You get true-to-life images and more gradients with 16.7 million colors
  • THE PERFECT VIEW: The 178/178 degree extra wide viewing angle prevents the shifting of colors when viewed from an offset angle, so you always get consistent colors
pwsh bin/Debug/netX/playwright.ps1 install

Replace netX with the target framework directory produced by your project (for example, the applicable net8.0 output). Use the generated script for the configuration you built. The .NET guide covers the install script and browser options at Playwright for .NET browser management.

3. Install Linux operating-system dependencies

A browser can be downloaded successfully and still fail to launch because Linux system libraries are absent. On a fresh Linux machine or CI runner, install the browser and its dependencies together, or install dependencies separately if the browser is already present.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Node.js

# Install Chromium and its system dependencies
npx playwright install --with-deps chromium

# Install dependencies for the supported browsers
npx playwright install-deps

Python

python -m playwright install --with-deps chromium

# Or install system dependencies separately
python -m playwright install-deps

Java

mvn exec:java -e -D exec.mainClass=com.microsoft.playwright.CLI -D exec.args="install --with-deps chromium"

.NET

pwsh bin/Debug/netX/playwright.ps1 install --with-deps chromium

Use the browser and dependency options documented for your binding: the names and invocation syntax can vary by language. On Linux, installing operating-system packages may require root or administrator privileges. If dependency installation is being performed through a proxy, run that step as root so the package manager’s proxy variables are preserved. See the official CI guidance and the language-specific browser guides.

4. Resolve proxy, certificate, and download-timeout errors

By default, Playwright downloads browser archives from Microsoft’s CDN. A corporate proxy, firewall, or TLS inspection device can prevent the download even when ordinary web access works. The official browser guide describes proxy and timeout configuration at playwright.dev/docs/browsers; Python installation notes are at playwright.dev/python/docs/browsers.

Set the HTTPS proxy

Configure HTTPS_PROXY in the environment of the install process. Replace the example with your organization’s proxy address and any required port or authentication configuration:

# macOS/Linux shell example
export HTTPS_PROXY=http://proxy.example:8080
npx playwright install chromium

For Python, Java, or .NET, set the same environment variable before running that language’s install command. Follow your organization’s proxy requirements for credentials; do not commit secrets into scripts or source control.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Rank #3
Sale
Dell 24 Monitor - SE2426H - 23.8-inch FHD (1920x1080) 144Hz 1ms Display, in-Plane Switching (IPS) Technology, AMD FreeSync™, TÜV 3-Star 2X HDMI, Tilt
  • Clear visuals. Fluid motion: A 144Hz refresh rate and 1ms MPRT deliver smooth, tear‑free motion across work, gaming, and streaming for clearer, more fluid viewing.
  • Eye comfort: TÜV Rheinland 3‑star* certification reduces harmful blue light while preserving stunning color quality without compromise. *TÜV Rheinland 3-star eye comfort certification.
  • Wide viewing angle: Get consistent views across a wide 178° /178° viewing angle.
  • In-Plane Switching (IPS): See excellent color accuracy and consistency across wide viewing angles with In-plane Switching (IPS) technology.
  • Ultra-thin bezels: Maximize your viewing experience with thin bezels.

Trust the corporate certificate

If the download fails with an error such as “self signed certificate in certificate chain,” the proxy may be intercepting TLS with an organization-issued certificate. For Node.js, set NODE_EXTRA_CA_CERTS to the trusted root certificate file supplied by your IT team:

export NODE_EXTRA_CA_CERTS=/path/to/corporate-root.pem
npx playwright install chromium

Do not disable certificate validation as a workaround. For other runtimes, configure trust using the certificate mechanism documented for that runtime and your organization.

Increase the download connection timeout

If an archive download is unusually slow or stalls, increase the timeout in milliseconds and retry:

export PLAYWRIGHT_DOWNLOAD_CONNECTION_TIMEOUT=120000
npx playwright install chromium

Choose a value appropriate to your network; a longer timeout helps with slow connections but does not fix a blocked destination, invalid certificate, or incorrect proxy setting.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

5. Fix browser-path and cache mismatches

Playwright normally stores downloaded browsers in a user cache location. If installation and test execution run as different users, in separate containers, or under different environments, the test process may look in a different cache and report a missing executable.

Use one shared browser path

Set PLAYWRIGHT_BROWSERS_PATH to the same directory before both installing browsers and running tests. Ensure the user running tests can read and execute files there:

Rank #4
Samsung 27" Essential S3 (S36GD) Series FHD 1800R Curved Computer Monitor
  • CURVED FOR ENHANCED ENGAGEMENT: An immersive viewing experience with a curved monitor that wraps more closely around your field of vision; It creates a wider view, enhancing depth perception and minimizing peripheral distraction
  • SMOOTH PERFORMANCE FOR SEAMLESS CONTENT: Stay in the action when playing games, watching videos, or working on creative projects; The 100Hz refresh rate reduces lag and motion blur so you don't miss a thing in fast-paced moments¹
  • MORE GAMING POWER: Gain the edge with optimizable game settings; Color and image contrast can be adjusted to see scenes more vividly and spot enemies hiding in the dark; Game Mode adjusts any game to fill the screen so you can view every detail²
  • KEEP IT EASY ON THE EYES: Care for your eyes and stay comfortable, even during long sessions; Advanced eye comfort technology certified by TÜV reduces eye strain by minimizing blue light and reducing irritating screen flicker²
  • INCREASED VERSATILITY: Connect to more; Plug devices straight into your monitor for increased flexibility, making your computing environment even more convenient
export PLAYWRIGHT_BROWSERS_PATH=/opt/playwright-browsers
npx playwright install chromium
npx playwright test

Keep browser files inside the project installation

Set PLAYWRIGHT_BROWSERS_PATH=0 before installation to use a hermetic installation under the project package directory:

export PLAYWRIGHT_BROWSERS_PATH=0
npx playwright install chromium

The installer and test process must use the same setting. A project-local location can make packaged or isolated environments easier to reason about, but it should not be confused with a general shared cache. See browser storage configuration.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

6. Make CI installs reproducible

CI machines are often fresh, so browser binaries and Linux libraries should be installed during setup, before test commands. The Playwright CI guide recommends using its Docker image on Linux agents or installing dependencies with the CLI: Playwright CI.

GitHub Actions example for Node.js

Install project dependencies, then install the browser runtime before running tests. Keep the Playwright package version pinned through your lockfile and use the project-local CLI:

steps:
  - uses: actions/checkout@v4
  - uses: actions/setup-node@v4
    with:
      node-version: 20
      cache: npm
  - run: npm ci
  - run: npx playwright install --with-deps chromium
  - run: npx playwright test

This example installs Chromium only. If tests use other browsers, install those browsers instead or omit the browser name. The major-version values shown for GitHub Actions are example workflow configuration; check your repository’s supported action versions and policy.

Python CI sequence

python -m pip install -r requirements.txt
python -m playwright install --with-deps chromium
python -m pytest

Run these commands in the same virtual environment used by the tests. For Java and .NET, the equivalent order is: resolve/build the project, run the documented Playwright browser installer with dependencies on Linux, then execute the test command.

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Best Value
Sceptre New 22-Inch Gaming Monitor, FHD 1080p, Up to 144Hz, HDMI, DisplayPort, Built-in Speakers, Machine Black (E225W-FW144 Series, 2026)
  • 【INTEGRATED SPEAKERS】Whether you're at work or in the midst of an intense gaming session, our built-in speakers provide rich and seamless audio, all while keeping your desk clutter-free.
  • 【EASY ON THE EYES】 Protect your eyes and enhance your comfort with Blue-Light Shift technology. This feature reduces harmful blue light emissions from your screen, helping to alleviate eye strain during long hours of use and promoting healthier viewing habits.
  • 【WIDEN YOUR PERSPECTIVE】Our sleek minimal bezel design ensures undivided attention. The nearly bezel-free display seamlessly connects in a dual monitor arrangement, delivering an unobstructed view that lets you focus on more at once, completely distraction-free.

When to use the Playwright Docker image

For Linux CI, the Playwright Docker image can provide a reproducible browser runtime and Linux dependencies. Match the image to the Playwright version used by the project; a mismatch can reintroduce missing or incompatible browser revisions. The CI documentation covers the supported image approach and installation alternatives at playwright.dev/docs/ci.

Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

7. Choose the right installation approach

Situation Recommended approach Trade-off to consider
Local development, one browser needed Install that browser with the binding’s install command. Other browser projects may need separate installs.
Fresh Linux machine or CI runner Use install --with-deps or install dependencies with install-deps. System package installation may require root privileges.
Restricted network or TLS inspection Set HTTPS_PROXY, trust the corporate root, and adjust the download timeout if needed. Network policy must allow access to the browser download host.
Multiple users or jobs sharing browsers Set a shared PLAYWRIGHT_BROWSERS_PATH consistently. Permissions and version compatibility must be managed.
Isolated project environment Set PLAYWRIGHT_BROWSERS_PATH=0 before installing. Browser files live with the project package rather than a general cache.
Repeatable Linux CI runtime Use the Playwright Docker image compatible with the package version. Image version and project Playwright version must remain aligned.

Common errors and fixes

  • “Executable doesn’t exist” or “browser executable is missing”: install browsers using the same Playwright package version and environment that runs the test. Check install --list, package version, user, and browser path.
  • Browser downloads but launch fails on Linux: install the required operating-system libraries with install --with-deps or install-deps; confirm the process has permission to install packages.
  • Download fails or hangs behind a proxy: set HTTPS_PROXY; if TLS interception is active, configure NODE_EXTRA_CA_CERTS for Node.js; raise PLAYWRIGHT_DOWNLOAD_CONNECTION_TIMEOUT for slow transfers.
  • Works locally but fails in CI: ensure CI installs browsers and dependencies before tests, in the same job/container and user context. Consider a matching Playwright Docker image on Linux.
  • Installer sees browsers, test still cannot: compare PLAYWRIGHT_BROWSERS_PATH and user identity between install and test steps; verify permissions on the shared cache.

Or skip the browser setup

If your goal is to capture a website rather than run browser automation tests, ScreenshotNeo offers a website screenshot API and MCP server. A GET request returns a PNG, JPEG, WebP, or PDF. Its clean-shot options accept cookie and consent banners and remove more than 60 known consent platforms, newsletter popups, and chat widgets before capture; each step can be turned off. Bot checks, blank pages, failed loads, timeouts, and cache hits are not billed, and response headers identify the page verdict and billing status. AI agents can use its MCP server tools: take_screenshot, get_page_info, and capture_pdf.

Install no browser locally; make one request (replace the URL with the page you need). See the ScreenshotNeo API documentation for parameters and output options:

curl -G "https://api.screenshotneo.com/v1/shot" -d access_key=YOUR_API_KEY --data-urlencode url=https://stripe.com -o shot.webp

The Free plan includes 1,000 screenshots a month without a card; paid plans start at $5 for 3,000 shots. Sign up for free to try it.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Frequently Asked Questions

Does installing the Playwright package install Chromium too?

Not necessarily. The package and its matching browser binaries are separate; run the browser installer for the version in your project.

Can I install just one Playwright browser?

Yes. Specify a browser such as chromium in the install command for your language binding.

Does ScreenshotNeo replace Playwright for browser testing?

No. It provides website captures and page information; it is not a replacement for Playwright test automation.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.