October DealsAmazon USOctober deal check: compare before you payAmazon US: current deals, useful picks and tech finds.Check DealsWindows FixRecommendedWindows errors stealing your time? Find the fix fastScan stability, cleanup and performance issues.Fix NowOctober DealsAmazon USDeal season is back - check today's better picksAmazon US: current deals, useful picks and tech finds.See Picks×
Skip to content
browser automation

How to Download Playwright Browsers (Chromium, Firefox, and WebKit)

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

Install Playwright in your project, then run npx playwright install. That downloads the browser binaries matched to your Playwright version. To limit the download, name browsers explicitly, such as npx playwright install chromium or npx playwright install chromium webkit. On Linux and CI, add --with-deps when operating-system packages are also required.

1. Install Playwright in the project

Run the package installation from your project directory. The library package is suitable for scripts and applications; Playwright Test projects can use the test package instead.

npm i -D playwright

The package version determines which browser revisions Playwright expects. Each Playwright release needs specific browser binaries, so keep the package and browser installation in sync. The official package guidance is at playwright.dev/docs/library.

2. Download the supported browsers

Download the default set

npx playwright install

This installs Playwright’s supported Chromium, Firefox and WebKit builds. These are separate binaries from Chrome, Firefox or Safari that you already use for everyday browsing.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
#1 Best Overall
HP OmniBook 3 17.3 inch Laptop PC, FHD Display, AMD Ryzen 3 30, 8 GB RAM, 512 GB SSD, AMD Radeon 610M Graphics, Windows 11 Home, Mica Silver, 17-dp0199nr
  • FULL HD IPS DISPLAY - Enjoy vibrant, crystal-clear images with 178-degree wide-viewing angles
  • AMD RYZEN 3 30 PROCESSOR - Everyday performance you can count on; Multitask, stream, game casually, and edit photos smoothly with responsive power and vibrant HDR visuals
  • ENJOY UP TO 14 HOURS AND 15 MINUTES OF BATTERY LIFE - HP Fast Charge restores battery from 0 to 50% in approximately 45 minutes
  • AMD RADEON 610M GRAPHICS - Experience smooth entertainment; Built for streaming and multitasking, enjoy realistic visuals and efficient performance for work and play
  • STORAGE AND MEMORY - 512 GB PCIe NVMe M.2 SSD offers fast speed and efficient storage; and 8 GB LPDDR5 RAM memory boosts performance with higher bandwidth

Download selected browsers

npx playwright install chromium
npx playwright install firefox
npx playwright install webkit
npx playwright install chromium webkit

Installing only the engines your test suite uses saves download time and disk space. The command-line reference is maintained at playwright.dev/docs/test-cli.

Install operating-system dependencies on Linux and CI

npx playwright install --with-deps

--with-deps downloads the browsers and installs required Linux system packages. Use it in a CI job or Linux machine where those libraries are not already present. If you only need the system packages, run:

npx playwright install-deps

The latter does not download browser binaries.

3. Choose the right browser build

Need Install or configure Important qualification
Cross-browser testing with Playwright-supported engines npx playwright install chromium firefox webkit Uses Playwright’s patched, version-matched builds.
Chromium headless shell only npx playwright install --only-shell Useful when tests use headless Chromium and do not select a channel.
Newer Chromium headless mode without the shell npx playwright install --no-shell Use when your setup does not require the separate headless shell.
Installed branded Chrome or Edge Use the relevant Playwright browser channel or CLI option Those browsers install to the operating system’s global location and may overwrite an existing installation.
Custom executable Set executablePath Playwright warns that this is an advanced, risky choice; bundled builds are the supported path.

Playwright’s Firefox and WebKit builds are patched for automation. They are not interchangeable with branded Firefox or Safari. For Safari-like behavior, the guide notes that WebKit on macOS is closer to Safari in cases such as video playback; Linux WebKit can be a lower-cost CI choice. Treat those as environment-specific trade-offs rather than universal compatibility claims.

4. Install behind a proxy or from an internal mirror

Use a proxy

Set HTTPS_PROXY in the shell before running the install command:

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.
HTTPS_PROXY=http://proxy.example:8080 npx playwright install

On Windows PowerShell, the equivalent is:

$env:HTTPS_PROXY="http://proxy.example:8080"
npx playwright install

Use an artifact mirror

Playwright downloads from Microsoft’s CDN by default. Point downloads at an internal host with PLAYWRIGHT_DOWNLOAD_HOST:

PLAYWRIGHT_DOWNLOAD_HOST=https://artifacts.example.com npx playwright install

You can override hosts per browser with PLAYWRIGHT_CHROMIUM_DOWNLOAD_HOST, PLAYWRIGHT_FIREFOX_DOWNLOAD_HOST and PLAYWRIGHT_WEBKIT_DOWNLOAD_HOST. Set the variables in the same environment used for installation, and ensure the mirror contains the browser archives expected by your Playwright version.

Rank #2
HP 14" HD Chromebook Laptop for Students, Intel Quad-Core N4120(> N4020), 4GB RAM, 64GB eMMC, WiFi, Webcam, HDMI, USB-A&C, 14 Hours Battery Life, Zoom, Chrome OS, CUE Accessories
  • Intel Celeron N4120: 4 Cores & Threads, 1.1GHz Base Clock, Up to 2.6GHz Boost Clock, 4MB Cache, Intel UHD Graphics 600. The perfect combination of performance, power consumption, and value helps your device handle multitasking smoothly and reliably with four processing cores to divide up the work.
  • 14" HD Display: 14.0-inch diagonal, HD (1366 x 768), micro-edge, anti-glare. See your digital world in a whole new way. Enjoy movies and photos with the great image quality and high-definition detail of 1 million pixels.
  • Memory & Storage: 4 GB LPDDR4x & 64 GB eMMC Storage. Adequate high-bandwidth RAM to smoothly run multiple applications and browser tabs all at once. An embedded multimedia card provides reliable flash-based storage.
  • Ports:2 x USB 3.0 Type-A,1 x USB 3.0 Type-C,1 x HDMI,1 x Headphone Jack
  • Chrome OS: Chromebook is a computer for the way the modern world works, with thousands of apps. Enjoy the seamless simplicity that comes with Google Chrome and Android apps, all integrated into one laptop. It’s fast, simple, and secure.

5. Control where browser files are stored

Default cache locations are:

  • Windows: %USERPROFILE%AppDataLocalms-playwright
  • macOS: ~/Library/Caches/ms-playwright
  • Linux: ~/.cache/ms-playwright

Share a cache between projects

Set PLAYWRIGHT_BROWSERS_PATH before both installation and test execution:

PLAYWRIGHT_BROWSERS_PATH=/opt/playwright-browsers npx playwright install
PLAYWRIGHT_BROWSERS_PATH=/opt/playwright-browsers npx playwright test

Both processes must point to the same path, and the account running tests needs read and execute access.

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

Create a hermetic install

Set the variable to 0 to place browsers under node_modules/playwright-core/.local-browsers:

PLAYWRIGHT_BROWSERS_PATH=0 npx playwright install

This setting does not relocate branded Chrome or Edge installations, which remain managed by the operating system.

Plan for disk usage

The official guide describes each browser as taking a few hundred megabytes and gives example measurements of 281M for Chromium, 187M for Firefox and 180M for WebKit. They are examples, not fixed requirements: release, platform and installed dependencies change the actual footprint.

6. Verify, update and remove browsers

List installed revisions

npx playwright install --list

Use this when a machine has several projects or when a CI image appears to contain an unexpected revision.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Rank #3
Sale
AKCHART 15.6'' AI Laptop with Office 365 12GB RAM 256GB SSD Win 11 Laptops
  • Stunning 15.6" FHD IPS Display: Experience crisp 1920x1080 resolution on this 15.6 inch laptop with an IPS panel that delivers wide viewing angles and vivid colors. The narrow-bezel design maximizes screen real estate for comfortable viewing on this Win 11 laptop, whether you're studying or working.
  • Celeron J4105 Processor & 256GB SSD: Powered by a reliable Celeron J4105 processor paired with 12GB DDR4 memory and a fast 256GB M.2 SSD. This laptop computer supports SSD expansion up to 2TB and TF card expansion up to 1TB, so your storage grows with your needs. Delivers smooth multitasking for daily productivity.
  • AI-Powered Win 11 Laptop: Built-in AI features enhance your productivity with smart assistance for writing, summarizing, and task management. Pre-installed with Win 11 and includes Office 365 subscription. This student laptop is backed by 1-year warranty and 24/7 customer support.
  • All-Day 7000mAh Battery & 180° Hinge: The high-capacity 7000mAh battery keeps this laptop powered through long classes or meetings. The 180-degree lay-flat hinge lets you share your screen effortlessly during presentations. This durable laptop computer adapts to your dynamic workflow.
  • Versatile Connectivity Hub: Equipped with USB 3.2, Type-C, Mini HDMI, and 3.5mm audio jack to connect all your peripherals. Stay online anywhere with high-speed 5G WiFi and Bluetooth 4.2. This college laptop keeps you connected at home, in the library, or on the go.

Refresh after upgrading Playwright

npm update playwright
npx playwright install

Run the install step after a Playwright upgrade if the required revision is missing or out of sync. Playwright normally removes unused browser versions during client updates. To retain them, use --no-remove or set PLAYWRIGHT_SKIP_BROWSER_GC=1.

Uninstall

npx playwright uninstall
npx playwright uninstall --all

The first command removes browsers associated with the current Playwright installation; --all removes browsers from all Playwright installations.

7. A reliable CI installation sequence

A minimal Linux CI job should install the locked project dependencies, install browsers and system packages, then run tests:

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

The official CI guide does not recommend caching browser binaries by default because restoring a cache can take about as long as downloading them. If your team caches anyway, key the cache by the Playwright version so an upgrade cannot accidentally reuse incompatible revisions. See playwright.dev/docs/ci.

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

8. Troubleshooting common installation failures

“Executable doesn’t exist” or a missing revision

Cause: the package was installed without its browsers, or Playwright was upgraded.

Fix: run npx playwright install using the same project and user that runs the tests. Confirm the result with npx playwright install --list.

Rank #4
HP Essential Laptop 2026, Intel CPU, 128GB Storage, Office 365, Windows 11
  • Efficient Performance for Everyday Computing: Powered by Intel N150 processor with up to 3.6 GHz Intel Turbo Boost Technology, 6 MB L3 cache, 4 cores, and 4 threads, this HP laptop delivers responsive performance for web browsing, streaming, document editing, and multitasking. Paired with 4GB LPDDR5 RAM and 128GB UFS storage, it handles daily tasks smoothly. Includes 1-year Microsoft 365 Personal subscription for Word, Excel, PowerPoint, and cloud storage to maximize your productivity.
  • 14-Inch HD Micro-Edge Display:Enjoy clear visuals on the 14-inch HD (1366 x 768) anti-glare screen with 250-nit brightness and 62.5% sRGB coverage. The micro-edge bezel delivers a 79% screen-to-body ratio in a compact design. An HP True Vision 720p HD camera with noise reduction and dual-array microphones supports clear video calls, remote work, and online learning.
  • Modern Connectivity and Wireless Technology: Stay connected with Wi-Fi 6 (2x2) for faster wireless speeds and Bluetooth 5.4 for seamless pairing with accessories. Versatile port selection includes 1 USB Type-C 10Gbps with DisplayPort 1.2 for external displays, 2 USB Type-A 5Gbps ports for peripherals, 1 HDMI 1.4b port, 1 headphone/microphone combo jack, and 1 multi-format SD media card reader. Connect monitors, transfer files quickly, and expand your workspace with ease.
  • All-Day Battery Life and Portable Design: Enjoy up to 11 hours of video playback, 7.5 hours of mixed usage, or 7.5 hours of wireless streaming on a single charge, perfect for students and professionals on the go. Weighing just 3.24 lb and measuring 12.76" x 8.86" x 0.71", this lightweight laptop fits easily in backpacks and bags. The stylish willow green top cover with matte finish and natural silver keyboard deck with vertical brushing pattern offer a modern, professional look.
  • AI-Enhanced Productivity: Access Microsoft Copilot instantly with the dedicated Copilot key for faster assistance. AI Noise Reduction filters background sounds and improves voice clarity during calls. Dual speakers provide clear audio, while the full-size natural silver keyboard and HP Imagepad support comfortable typing and navigation.

Linux launch errors mentioning shared libraries

Cause: operating-system dependencies are absent.

Fix: run npx playwright install --with-deps. If browser files are already present, npx playwright install-deps installs only the system packages.

Download timeout or connection refusal

Cause: a corporate proxy, firewall or restricted egress path.

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

Fix: configure HTTPS_PROXY, or direct downloads to an approved mirror with PLAYWRIGHT_DOWNLOAD_HOST (or the browser-specific host variables). Check that the CI process receives those variables.

Tests cannot find a shared installation

Cause: PLAYWRIGHT_BROWSERS_PATH was set during installation but not during execution, or permissions differ.

Fix: export the same path in both steps and grant the test user access.

Unexpected Chrome or Edge replacement

Cause: a branded-browser installation uses the operating system’s global location and can overwrite an existing installation.

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
Sale
HP 14 inch Laptop Computer, 2027 Edition, Intel N150 CPU, 4GB RAM, 128GB SSD, 1TB Cloud Storage, Windows 11 with Microsoft 365
  • Designed for mobility with a slim 0.71-inch profile and lightweight 3.24 lb chassis, making it easy to carry between home, office

Fix: use Playwright’s bundled Chromium unless a branded channel is an explicit requirement. Avoid custom executablePath unless you accept its compatibility risk. The BrowserType API warning is documented at playwright.dev/docs/api/class-browsertype.

Cache appears stale

Cause: the cache key does not include the Playwright version, or garbage collection removed an older revision.

Fix: key caches by the exact package version, reinstall the required browsers, and only use --no-remove or PLAYWRIGHT_SKIP_BROWSER_GC=1 when retaining old revisions is intentional.

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

9. Or skip the browser setup

If your goal is to obtain a clean website image rather than run Playwright code, ScreenshotNeo provides a website screenshot API and MCP server. A single request returns PNG, JPEG, WebP or PDF, without managing local browser binaries.

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

cURL

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

Python

import requests
r = requests.get("https://api.screenshotneo.com/v1/shot", params={"access_key": "YOUR_API_KEY", "url": "https://stripe.com"}, timeout=90)
open("shot.webp", "wb").write(r.content)

Node.js

const q = new URLSearchParams({ access_key: 'YOUR_API_KEY', url: 'https://stripe.com' });
const res = await fetch(`https://api.screenshotneo.com/v1/shot?${q}`);

Before capture, ScreenshotNeo accepts cookie or consent banners and removes more than 60 known consent platforms, newsletter popups and chat widgets; each step can be disabled. Bot checks or CAPTCHAs, blank pages, timeouts, failed loads and cache hits are not billed, and response headers identify the page verdict and billing status. Its MCP server exposes take_screenshot, get_page_info and capture_pdf to Claude, Cursor and other MCP clients. The ScreenshotNeo documentation covers options such as full-page lazy-image loading, CSS-selector element capture, device presets, PDF settings, custom JavaScript and CSS, waits, request blocking, cookies, headers, geolocation, caching, signed links, asynchronous webhooks, bulk capture and usage reporting. The Free plan includes 1,000 shots per month with no card; paid plans start at $5 for 3,000 shots. Create a free ScreenshotNeo account.

10. Practical decision checklist

  • Use bundled Chromium, Firefox or WebKit when you need Playwright automation and reproducible engine versions.
  • Install only the engines your tests exercise unless a cross-browser matrix requires all three.
  • Add --with-deps on Linux CI images that do not already contain required libraries.
  • Set proxy or mirror variables before installation in restricted networks.
  • Keep PLAYWRIGHT_BROWSERS_PATH identical for installation and execution.
  • Re-run installation after Playwright upgrades and key any CI cache by version.
  • Choose ScreenshotNeo when the deliverable is a website screenshot or PDF and maintaining Playwright browsers would add unnecessary setup.

Frequently Asked Questions

Does installing Playwright install Google Chrome?

No. The default command installs Playwright’s Chromium, Firefox and WebKit builds. Branded Chrome or Edge are separate channel installations managed in the operating system’s global location.

Can I install browsers globally for every project?

Yes. Set PLAYWRIGHT_BROWSERS_PATH to a shared directory before installing and before running each project, then grant all relevant users access.

Should I cache Playwright browsers in CI?

The official CI guidance says caching is not recommended by default because restore time can be comparable to downloading. If you cache, include the Playwright version in the cache key.

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

Why is WebKit different on macOS and Linux?

Playwright’s WebKit build is patched for automation on both platforms. The documentation notes that macOS WebKit is closer to Safari for cases such as video playback, while Linux WebKit can be a lower-cost CI choice.

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.

Leave a Reply

Your email address will not be published. Required fields are marked *

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

Read next

Recommended PC Tool
Recommended PC Tool
PC Slower Than It Used to Be?Free scan - under a minute
Outdated Drivers Are Slowing You DownFree scan - exact matches

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.