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

Some links on this page are affiliate links: if you buy through them we may earn a commission, at no extra cost to you.

The right fix depends on where the command fails: browser download, Linux system-dependency installation, browser-cache lookup, or a later launch. Start by recording the full error, operating system and distribution, Playwright version, and whether the failure occurs during installation or when a test starts. Then follow the matching branch below; the title alone is not enough to identify one universal cause.

First identify the failing stage

Run these checks from the same project directory and shell used for the failing command:

npx playwright --version
npx playwright install --list
npx playwright install --dry-run chromium

Keep the complete terminal output, including the first error and any preceding download or dependency messages. Note your operating system and Linux distribution if applicable, whether this is a local machine or CI job, and whether installation or browser launch failed. The Playwright CLI documentation describes install and dry-run options; available options can vary with the installed release, so check npx playwright install --help when a flag is rejected.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
  • Version or missing executable: verify the browser build matches the installed Playwright package.
  • Network, TLS, or stalled download: inspect proxy, certificate, timeout, and download-host settings.
  • Missing Linux libraries: install system dependencies separately or with the browser.
  • Browser not found at test time: compare the installation and runtime cache paths.
  • Install succeeds, launch fails: troubleshoot the runtime environment rather than repeating the download blindly.

Match the browser to the installed Playwright version

Playwright releases expect particular browser binaries. After installing or updating Playwright, install the browser again using the project’s local CLI. The Playwright browser guide documents this version relationship.

#1 Best Overall
HP Chromebook 14 Laptop, Intel Celeron N4120, 4 GB RAM, 64 GB eMMC, 14" HD Display, Chrome OS, Thin Design, 4K Graphics, Long Battery Life, Ash Gray Keyboard (14a-na0226nr, 2022, Mineral Silver)
  • FOR HOME, WORK, & SCHOOL – With an Intel processor, 14-inch display, custom-tuned stereo speakers, and long battery life, this Chromebook laptop lets you knock out any assignment or binge-watch your favorite shows..Voltage:5.0 volts
  • HD DISPLAY, PORTABLE DESIGN – See every bit of detail on this micro-edge, anti-glare, 14-inch HD (1366 x 768) display (1); easily take this thin and lightweight laptop PC from room to room, on trips, or in a backpack.
  • ALL-DAY PERFORMANCE – Reliably tackle all your assignments at once with the quad-core, Intel Celeron N4120—the perfect processor for performance, power consumption, and value (2).
  • 4K READY – Smoothly stream 4K content and play your favorite next-gen games with Intel UHD Graphics 600 (3) (4).
  • MEMORY AND STORAGE – Enjoy a boost to your system’s performance with 4 GB of RAM while saving more of your favorite memories with 64 GB of reliable flash-based eMMC storage (5).
  1. Check the package version with npx playwright --version.
  2. From the project directory, run npx playwright install chromium.
  3. If the command still fails, use the exact error to continue to the download, dependency, or cache section below.
npx playwright install chromium

Using npx from the project directory helps ensure you invoke the project’s installed Playwright CLI rather than diagnosing a different installation. If you changed the package version, rerun the browser installer for that version. Avoid manually selecting an arbitrary Chromium executable to bypass a mismatch: Playwright’s browser builds are paired with its releases, and custom executable paths can have compatibility consequences (see BrowserType).

Separate browser downloads from Linux dependencies

npx playwright install chromium installs the browser. On Linux, browser processes may also need operating-system libraries. If the error names missing libraries or dependencies, install those separately:

npx playwright install-deps chromium

Or request both the browser and its dependencies in one command:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
npx playwright install --with-deps chromium

System package installation may require administrator privileges. For a Linux proxy environment, Playwright documents forwarding the proxy to the dependency installer while running it with elevated privileges, for example:

sudo HTTPS_PROXY=https://proxy.example npx playwright install-deps chromium

Replace the example proxy with your organization’s approved proxy configuration. Do not assume a browser archive download error is fixed by installing Linux libraries, or that installing the archive supplies those libraries. The CLI’s --dry-run option can help inspect planned actions; on Linux, dependency dry-run simulates apt-get and may return a nonzero exit when packages are missing.

Fix proxy, TLS, or stalled browser downloads

Playwright documents Microsoft’s CDN as its default browser download source. If a download is blocked or interrupted, choose the setting that matches the error rather than changing several variables at once.

Proxy blocks or requires an explicit route

Pass the proxy to the install process with HTTPS_PROXY:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
HTTPS_PROXY=https://proxy.example npx playwright install chromium

Use the proxy URL and credentials format required by your network administrator. If dependency installation also accesses package repositories through a proxy, configure that step separately as shown above.

Corporate TLS inspection or self-signed certificate chain

If the error identifies an untrusted certificate chain, point Node.js at the trusted organization certificate rather than disabling certificate checks:

NODE_EXTRA_CA_CERTS=/path/to/cert.pem npx playwright install chromium

Use the correct PEM file supplied by your organization. This setting addresses Node.js trust of the certificate chain; it does not repair a blocked route, invalid certificate file, or unrelated network failure.

Slow or stalled download

Increase the browser-download connection timeout when the download is slow or stalls:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
PLAYWRIGHT_DOWNLOAD_CONNECTION_TIMEOUT=120000 npx playwright install chromium

The documented setting increases the download timeout. The value above is an example in milliseconds, not a guarantee that a server or proxy will eventually complete the transfer. If it still fails, check connectivity and proxy logs rather than increasing it indefinitely.

Organization-hosted browser mirror

If your organization mirrors browser archives, Playwright supports PLAYWRIGHT_DOWNLOAD_HOST and the Chromium-specific PLAYWRIGHT_CHROMIUM_DOWNLOAD_HOST. Follow internal repository policy and verify that the mirror contains the browser build expected by the installed Playwright release. A mirror with a different or incomplete archive can turn a network workaround into a version or download failure.

Find a browser-cache mismatch

A successful install does not guarantee that a later test process looks in the same location. Playwright’s default browser-cache paths are operating-system specific:

Rank #3
Sale
Lenovo Chromebook m 14" - Everyday Laptop - Google Gemini - MediaTek Kompanio 540 CPU - 14" WUXGA IPS Display - 8GB RAM - 64GB UFS Storage - Integrated Arm Mali-G57 MC2 GPU - Cosmic Blue
  • YOUR DAY SIMPLIFIED – Enjoy crisp calls, vibrant views, and real connection. The Lenovo Chromebook m 14” laptop features a stunning WUXGA 16:10 screen, a full set of ports, and a lightweight yet tough, military-grade build.
  • BRILLIANTLY IMMERSIVE – The vibrant WUXGA 1920x1200 display lets you see, hear, and create your world in thrilling new ways. Audio that's tuned with MaxxAudio delivers rich, balanced sound that pulls you deeper into every scene, playlist, and project.
  • TOUGH, LIGHT, READY FOR LIFE – Carry with confidence. At just under 3lbs, the Chromebook m 14” laptop is easy to handle and reinforced with military-grade durability to withstand daily bumps, drops, and spills.
  • LOOK SHARP STAY SECURE – Take charge of your privacy with the webcam’s physical privacy shutter. Open it confidently for video calls or livestreams and close it securely when you’re done, hassle-free.
  • CONNECT MORE TO DO MORE – Switch between devices and displays effortlessly while collaborating, studying, and sharing your screen. The built-in USB-C, USB-A, and HDMI ports let you charge, connect and present dongle-free.
Operating system Default browser cache
Windows %USERPROFILE%AppDataLocalms-playwright
macOS ~/Library/Caches/ms-playwright
Linux ~/.cache/ms-playwright

Inspect the browser inventory with:

npx playwright install --list

If you use a shared or custom browser directory, set PLAYWRIGHT_BROWSERS_PATH consistently for both installation and test execution. For example, in a POSIX shell:

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.
PLAYWRIGHT_BROWSERS_PATH=/opt/playwright-browsers npx playwright install chromium
PLAYWRIGHT_BROWSERS_PATH=/opt/playwright-browsers npx playwright test

In Windows PowerShell, set the environment variable in each process context, for example:

$env:PLAYWRIGHT_BROWSERS_PATH = 'C:playwright-browsers'
npx playwright install chromium
npx playwright test

For a local, package-contained browser installation, Playwright documents this command:

PLAYWRIGHT_BROWSERS_PATH=0 npx playwright install chromium

Apply the same intended configuration when running the tests. If install and test run as different users, in different containers, or with different environment variables, they may see different caches. The browser inventory command and the exact runtime environment help distinguish a missing installation from a path mismatch.

Make CI install and launch reliably

A basic Linux job sequence is:

npm ci
npx playwright install --with-deps chromium
npx playwright test

Install the browser in the job environment that runs the tests. Playwright’s CI guide recommends its Docker image or installing dependencies through the CLI. Browser binaries alone do not include Linux system dependencies, so caching the browser directory does not cache those operating-system packages.

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

The CI guide cautions that browser caching may not save time when cache restoration takes about as long as downloading, and recommends keying a browser cache to the Playwright version if you do cache it. Playwright’s best practices recommend installing only the browsers the CI job needs; for a Chromium-only job, do not download other browser engines without a project requirement.

If installation succeeds but Chromium later fails to start, enable browser launch diagnostics:

Rank #4
Acer Chromebook Plus 514 Laptop, 14" Touchscreen, Intel i3-N355, 8GB/512GB
  • THIN & DURABLE DESIGN - Boasting a thin and light design, the Acer Chromebook Plus 514 is designed to keep you productive and entertained from anywhere. It weighs only 3.09 lbs and meets MIL-STD 810H military standards for reliable performance in harsh conditions. With long battery life and fast charge technology, it lets you work, study, watch, and stay connected without interruptions. It is perfect for commuting, travel, or working on the go
  • AI-POWERED CREATIVITY - The laptop has AI-powered Google and Adobe tools to turn inspiration into reality faster. Its Gemini AI simplifies organizing creative drafts and optimizing materials. The dedicated Quick Insert key creates high-resolution images and offers writing assistance for seamless creativity. Unlock Google AI Pro for 12 months with this Chromebook Plus purchase. Experience Gemini Advanced, NotebookLM, 5TB of cloud storage, and boost productivity with Gemini integrated into Gmail, Docs, and more
  • POWERFUL PERFORMANCE - Powered by the 8-Core Intel Core i3-N355 Processor with Intel Graphics, it ensures smooth performance for everyday tasks. It features 8GB LPDDR5X RAM for fast, efficient multitasking and 512GB SSD, offering ample space for files, apps, media, and more, delivering fast storage access and reduced load times
  • EXCELLENT VISUAL - Featuring a 14" WUXGA (1920x1200) IPS touchscreen with 300-nit brightness, this device delivers vibrant visuals and responsive touch functionality. It supports expanding the workspace with 3 external monitors via HDMI (max 4K@30Hz) or USB Type-C (max 4K@60Hz), without a docking station. Plus, a 1080p webcam with a privacy shutter to prevent unauthorized viewing meets daily video chat or conference needs
  • RICH CONNECTIVITY OPTIONS - Equipped with 2x USB-C 3.2 Gen 1, 2x USB-A 3.2 Gen 1, HDMI 1.4, and a headphone/microphone combo jack. It features Wi-Fi 6E and Bluetooth 5.3 for blazing-fast wireless speeds and seamless device pairing, plus a white backlit keyboard that lets you work comfortably in any lighting
DEBUG=pw:browser npx playwright test

Review the launch output for missing libraries, executable paths, sandbox or container constraints, and other runtime-specific errors. A launch failure is distinct from a failed browser download; the remedy depends on the launch error and job environment.

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

Use install flags only when they fit the failure

The installed CLI may offer options such as --with-deps, --dry-run, --force, --only-shell, --no-shell, and --no-remove. Check npx playwright install --help for the flags supported by your installed version.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
  • --with-deps is relevant when Linux system dependencies need installation along with the browser.
  • --dry-run helps inspect planned install or dependency actions; it does not perform the installation.
  • --force and removal-related options can affect existing browser installations, so use them only when the error and CLI documentation justify doing so.
  • --only-shell and --no-shell concern browser variants; they are not generic fixes for Chromium download failures. Use them only when the project’s mode and Playwright release make them relevant.

Troubleshooting by error symptom

Symptom Likely stage First check
Browser executable does not exist Version alignment or cache lookup Run npx playwright --version and npx playwright install --list; reinstall the matching browser and check PLAYWRIGHT_BROWSERS_PATH.
Download cannot connect or is blocked Network route Configure HTTPS_PROXY if required and check access to the download source.
Self-signed certificate chain TLS trust Set NODE_EXTRA_CA_CERTS to the organization’s trusted certificate file.
Download stalls or times out Slow network or proxy Try PLAYWRIGHT_DOWNLOAD_CONNECTION_TIMEOUT and investigate network interruption.
Missing shared libraries on Linux System dependencies Run npx playwright install-deps chromium or install with --with-deps.
Install completes, test launch fails Runtime launch Run with DEBUG=pw:browser; inspect the launch error and runtime environment.

These are diagnostic starting points, not proof of a cause. Preserve the full error and the environment details when escalating: operating system/distribution, Playwright version, local versus CI, and whether failure occurs during install or launch.

Or skip the browser setup

If your goal is to capture a website screenshot rather than manage a local Playwright browser, ScreenshotNeo provides a screenshot API and MCP server. Its one-request endpoint can return an image or PDF. The following cURL example saves a WebP screenshot; see the ScreenshotNeo documentation for request options and formats.

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

ScreenshotNeo accepts cookie or consent banners as a visitor and removes more than 60 known consent platforms, newsletter popups, and chat widgets before capture; each cleanup step can be turned off. Bot checks/CAPTCHAs, blank pages, timeouts, failed loads, and cache hits are not billed, and responses report the page verdict and billing status in headers. Its MCP server provides take_screenshot, get_page_info, and capture_pdf tools for AI agents. The Free plan includes 1,000 screenshots per month without a card; paid plans start at $5 for 3,000 shots.

Sign up for ScreenshotNeo’s free plan: 1,000 screenshots a month, no card required.

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

Frequently Asked Questions

Why does Playwright say the browser executable doesn’t exist?

The installed browser may not match the current Playwright release, or the test process may be looking in a different browser cache. Check the CLI version and browser inventory, then compare the install and runtime cache configuration.

Does `npx playwright install chromium` install Linux system libraries too?

Not by itself. Use `npx playwright install-deps chromium` for dependencies, or `npx playwright install –with-deps chromium` to request browser installation and dependencies together.

Should I cache Playwright browsers in CI?

It depends on whether restoring the cache is faster than downloading. If you cache browser binaries, key the cache to the Playwright version; remember that Linux system dependencies are not included in that cache.

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.

Free tools Windows power users keep installed

One-click scans. No signup required.

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