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.

Check Playwright from the project directory, using the package manager and language binding that your application uses. In a Node.js project, run npx playwright --version (or the equivalent Yarn or pnpm command). Then check browser binaries separately with npx playwright install --list. A reported package version proves that the CLI resolves Playwright; it does not prove that Chromium, Firefox, or WebKit binaries are installed.

The two checks you need

Playwright has two independently installed parts: the language package and the version-specific browser binaries. Check both when diagnosing a setup.

Check Command or method What it establishes
CLI/package version npx playwright --version, yarn playwright --version, or pnpm exec playwright --version The project-context CLI resolves and reports a Playwright version.
Browser binaries npx playwright install --list Browsers known to Playwright installations on the machine.
Cache location Inspect the active cache and PLAYWRIGHT_BROWSERS_PATH Where binaries are being searched for; useful when another process uses a different environment.

Playwright’s browser documentation states: “Each version of Playwright needs specific versions of browser binaries to operate.” Therefore, a package upgrade can require downloading browser revisions again.

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.

Check a Node.js project

1. Open the correct project directory

Open a terminal in the directory containing the project’s manifest and lockfile. Running from another directory can resolve a different dependency, including a globally available or unrelated installation.

#1 Best Overall

2. Use the project’s package manager

Choose the command matching the lockfile:

npx playwright --version
# or
 yarn playwright --version
# or
pnpm exec playwright --version

A result such as a Playwright version number confirms that the command can resolve Playwright in that project context. It does not verify browser executables.

3. List the browser binaries

npx playwright install --list

Review the output for the browser your tests launch. If the required browser is not listed, install the default set:

npx playwright install

Or install only a required browser:

npx playwright install chromium

Use the same project context for installation and for running tests. If you update Playwright, repeat the browser check because the new package may require different revisions.

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

Which Playwright package is installed?

The command you should expect depends on the project’s intended API. Playwright Test projects commonly install @playwright/test; projects using the browser automation library directly may use a different Playwright package. Inspect the dependency manifest and lockfile rather than assuming that one package name fits every project.

Inspect the manifest

  • Open package.json and look under dependencies and devDependencies.
  • Check the lockfile used by the project to see the resolved version.
  • Run the version command through that project’s package manager so the result matches the application’s dependency graph.

If no appropriate package is present, install the package required by the project’s API with its package manager, then run the version and browser-list checks again.

Check Playwright in Python

Activate the same Python virtual environment used by your application. The Python binding’s browser workflow is separate from Node.js commands.

Rank #2
Dell Latitude 3190 11.6" HD 2-in-1 Touchscreen Laptop Intel N5030 1.1Ghz 4GB Ram 128GB SSD Windows 11 Professional (Renewed)
  • 1.1 GHz (boost up to 2.4GHz) Intel Celeron N5030 Quad-Core
  • 4GB DDR4 System Memory; 128GB Solid State Drive
  • 11.6" HD (1366 x 768) Multi-Touch Display
  • Combo headphone/microphone jack - Noble Wedge Lock slot - HDMI; 2 USB 3.1 Gen 1
  • Windows 11 Pro
  1. Activate the project’s virtual environment.
  2. Confirm the Python Playwright package is installed in that environment using your normal package inspection process.
  3. Use the Playwright command from that environment to install or list browsers. The official examples include python -m playwright install for installation.
  4. Run your application from the same activated environment.
python -m playwright install

If an application reports a missing executable after installation, verify that the shell, process supervisor, container, or CI job is using the same virtual environment and browser cache.

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

Check Playwright in .NET

.NET projects use the script generated for the project’s build output rather than a Node.js CLI. The exact path contains your target framework and configuration. A typical PowerShell command is:

pwsh bin/Debug/netX/playwright.ps1 install

Replace netX with the project’s actual target framework. To list browser installations, use the generated script’s list option:

pwsh bin/Debug/netX/playwright.ps1 install --list

Run the script from the build output belonging to the project you are executing; a script from another build can represent a different Playwright version.

When the version check succeeds but tests fail

“Executable doesn’t exist” or browser missing

The package is present, but the corresponding browser binary is absent or unavailable to the running process. Run the browser list command, then install the required browser. For Node.js:

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.
npx playwright install chromium

For supported Linux environments, operating-system libraries may also be missing. Playwright provides a separate dependency command, and a combined form:

Rank #3
Dell Latitude 5420 14" FHD Business Laptop Computer, Intel Quad-Core i5-1145G7, 16GB DDR4 RAM, 256GB SSD, Camera, HDMI, Windows 11 Pro (Renewed)
  • 256 GB SSD of storage.
  • Multitasking is easy with 16GB of RAM
  • Equipped with a blazing fast Core i5 2.00 GHz processor.
npx playwright install-deps
npx playwright install --with-deps

Use the combined option where supported and appropriate for your environment; it installs browsers and required system dependencies.

Browser listed, but the application still cannot find it

Check whether the application sets PLAYWRIGHT_BROWSERS_PATH. This variable can redirect Playwright to a custom or hermetic cache, so the shell in which you listed browsers may not be using the same location.

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

Compare the variable and effective user between your terminal, test runner, service, container, and CI job. A project-local or custom cache must be populated in the environment that launches Playwright.

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

Command not found or no version printed

First confirm the working directory and package manager. Then inspect the manifest for the intended Playwright package. If it is absent, install it with the project’s package manager. If it is present but the command still fails, reinstall dependencies using the lockfile and retry from the project directory.

Different version than expected

This usually indicates a different dependency context: the wrong directory, a different lockfile, a global command, or a different virtual environment/build output. Use npx, Yarn, or pnpm from the project, activate the Python environment, or run the generated .NET script associated with the build you execute.

A practical diagnostic sequence

  1. Identify the application language and project directory.
  2. Use the matching project command to print the Playwright version.
  3. Record the version shown; this is the package version resolved by that context.
  4. List browsers with the matching binding or generated script.
  5. Install the missing browser revision, not merely the package.
  6. Check PLAYWRIGHT_BROWSERS_PATH, the operating-system user, and the cache location if the list and runtime disagree.
  7. On supported Linux systems, install system dependencies when the browser exists but cannot start.
  8. Rerun the application from the same environment used for the checks.

Performance and CI considerations

Browser downloads are version-specific and can be substantial, so cache the Playwright browser directory in continuous-integration systems when your provider supports caching. Invalidate that cache when the Playwright version changes; reusing an old cache can leave the package and browser revision mismatched.

Rank #4
15.6 Inch Laptop Computer, N4020, 4GB DDR4 RAM, 128GB eMMC,with Windows 11
  • EFFORTLESS EVERYDAY PERFORMANCE: Powered by Intel Celeron N4020 processor and Windows 11 Home system, delivering reliable, low-power efficiency for daily tasks like document editing, email, online classes, and web browsing
  • 15.6-INCH FULL HD DISPLAY: Enjoy immersive visuals on the 15.6" FHD (1920x1080) anti-glare screen with micro-edge bezels. Delivers clear details and comfortable viewing for long study sessions, working on spreadsheets, and video playback
  • RESPONSIVE MULTITASKING & STORAGE: Built with 4GB LPDDR4 RAM and 128GB eMMC storage for smooth daily essential use. Expand your storage by up to 1TB via the integrated TF card slot to easily store movies, photos, and working files
  • ADVANCED CONNECTIVITY: Outfitted with 2x Full-Featured Type-C ports for data transfer, fast charging, and dual-monitor output, alongside 2x USB 3.2 Gen1 ports and a 3.5mm audio jack for complete peripheral compatibility
  • LIGHTWEIGHT & SILENT OPERATION: Slim and portable for effortless travel or commuting. Features a 1MP HD webcam for remote meetings, 38Wh battery with 45W Type-C fast charging, and a fanless silent design for peaceful work environments.

For hermetic builds, set PLAYWRIGHT_BROWSERS_PATH deliberately and ensure the install step and test step use the same value. For shared machines, listing browsers as the same user that runs tests avoids false positives caused by another user’s cache.

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

Or skip the browser setup

If your goal is simply to obtain a reliable website image or PDF rather than drive a local Playwright browser, ScreenshotNeo provides a one-request API. Its cleanup steps accept cookie or consent banners and remove more than 60 known consent platforms, newsletter popups, and chat widgets before capture; each step can be disabled. Only clean shots are billed: bot checks, CAPTCHAs, blank pages, timeouts, failed loads, and cache hits cost nothing, and response headers identify the page verdict and billing result.

Example using cURL (see the ScreenshotNeo documentation):

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}`);

ScreenshotNeo also offers an MCP server with take_screenshot, get_page_info, and capture_pdf for Claude, Cursor, and other MCP clients. The Free plan includes 1,000 shots per month with no card; paid plans start at $5 for 3,000 shots. Sign up free to try it.

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

FAQ

Does a version number prove Chromium is installed?

No. It confirms the CLI package resolves. Use the browser-list command to check binaries.

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

Why did upgrading Playwright break an existing setup?

Playwright versions require specific browser revisions. Install the browsers again for the upgraded version.

Can I use a Node.js command for a Python or .NET project?

Use the command supplied by the project’s binding: Python’s module command or the generated .NET PowerShell script. A Node.js command may inspect an unrelated installation.

Best Value
Sale
15.6 Inch Win 11 Laptop Computer, N4020, 4GB DDR4 RAM, 128GB Storage
  • WINDOWS 11 | STABLE PERFORMANCE: Powered by Intel Celeron N4020 processor and Windows 11 system, this laptop delivers stable performance for everyday computing tasks. It supports web browsing, online learning, document editing, email communication, and basic office work with optimized power efficiency, providing a practical and reliable experience for essential daily use for daily use.
  • 15.6” FHD IPS DISPLAY: Features a 15.6-inch Full HD IPS display with narrow bezels, offering wider viewing angles and clearer image details compared to standard panels. The improved screen-to-body ratio enhances visual experience for study, reading, document work, and video playback, making it suitable for both productivity and entertainment use.
  • 4GB DDR4 + 128GB eMMC STORAGE: Equipped with 4GB DDR4 memory and 128GB eMMC storage for everyday basics such as browsing, documents, email, and online learning platforms. The built-in TF card slot supports storage expansion up to 1TB, giving you more flexibility for files, photos, videos, and daily documents. TF card not included.
  • CONNECTIVITY & PORTS: Includes 1× TF card slot, 2× USB 3.2 Gen1 ports, and 2× full-featured Type-C ports (USB 3.2 Gen1). The Type-C ports support data transfer, charging, and video output, enabling flexible connection with external devices such as monitors, storage, and peripherals for daily work and study use.
  • LIGHTWEIGHT DESIGN | ONLINE COMMUNICATION: Designed with a slim, portable profile, this laptop is easy to carry for school, commuting, and travel. A built-in 1MP front camera supports online classes, video meetings, remote communication, and everyday conferencing. The 3300mAh battery works with the low-power system design to support practical daily use, while thermal optimization helps maintain quieter operation during extended tasks.

What should I check in a container?

Verify the install and test stages share the same user, cache path, environment variable, and operating-system dependencies.

Frequently Asked Questions

Does a version number prove Chromium is installed?

No. It confirms the CLI package resolves. Use the browser-list command to check binaries.

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

Why did upgrading Playwright break an existing setup?

Playwright versions require specific browser revisions. Install the browsers again for the upgraded version.

Can I use a Node.js command for a Python or .NET project?

Use the command supplied by the project’s binding: Python’s module command or the generated .NET PowerShell script. A Node.js command may inspect an unrelated installation.

What should I check in a container?

Verify the install and test stages share the same user, cache path, environment variable, and operating-system dependencies.

Quick Recap

Bestseller No. 1
HP 14' HD Laptop, Windows 11, Intel Celeron Dual-Core Processor Up to 2.60GHz, 4GB RAM, 64GB SSD, Webcam, Dale Pink (Renewed)
HP 14" HD Laptop, Windows 11, Intel Celeron Dual-Core Processor Up to 2.60GHz, 4GB RAM, 64GB SSD, Webcam, Dale Pink (Renewed)
14" diagonal, 1366x768 resolution, HD BrightView LED, Glossy NON-TOUCH Display
$247.99
Bestseller No. 2
Dell Latitude 3190 11.6' HD 2-in-1 Touchscreen Laptop Intel N5030 1.1Ghz 4GB Ram 128GB SSD Windows 11 Professional (Renewed)
Dell Latitude 3190 11.6" HD 2-in-1 Touchscreen Laptop Intel N5030 1.1Ghz 4GB Ram 128GB SSD Windows 11 Professional (Renewed)
1.1 GHz (boost up to 2.4GHz) Intel Celeron N5030 Quad-Core; 4GB DDR4 System Memory; 128GB Solid State Drive
Bestseller No. 3
Dell Latitude 5420 14' FHD Business Laptop Computer, Intel Quad-Core i5-1145G7, 16GB DDR4 RAM, 256GB SSD, Camera, HDMI, Windows 11 Pro (Renewed)
Dell Latitude 5420 14" FHD Business Laptop Computer, Intel Quad-Core i5-1145G7, 16GB DDR4 RAM, 256GB SSD, Camera, HDMI, Windows 11 Pro (Renewed)
256 GB SSD of storage.; Multitasking is easy with 16GB of RAM; Equipped with a blazing fast Core i5 2.00 GHz processor.
$289.99

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.