playwright
npmv1.63.0TypeScriptA high-level API to automate web browsers
Safe to adopt
Yes — playwright scores well across adoption, maintenance, weight, supply chain, and licensing. No download data reported for this package yet. Last published 5 days ago. 50 releases in the last 2 years.
- ?Adoption: grade ?, Not reported by this registry.
No download data reported for this package yet.
- AMaintenance: grade A, Excellent.
Last published 5 days ago. 50 releases in the last 2 years.
- AWeight: grade A, Excellent.
Pulls in 1 transitive package, about 18 MB installed.
- ASupply chain: grade A, Excellent.
No install scripts, 6 maintainers, and a contained dependency surface.
- ALicense: grade A, Excellent.
Apache-2.0 — permissive, with no copyleft found in the dependency tree.
Grades are computed deterministically from registry metadata collected by PackageGraph — downloads, dependents, publish dates, the resolved dependency tree, maintainer count, and declared licenses. No third-party scores are used.
Install cost
What you actually take on by adding playwright to a project.
Runtime packages this one declares itself.
Distinct packages in the full runtime tree, deduplicated the way a package manager would.
Unpacked size of this package plus its entire runtime tree.
Longest resolved dependency chain below this package.
Licenses in the dependency tree
Every license you inherit by installing playwright, not just its own. Check this before a legal review, not after.
Compatibility
- Node.js
- node >=20
- Module format
- ESM + CommonJS
- TypeScript
- Types included
- Install scripts
- None
Quick start
A usage example from the playwright README.
import { test, expect } from '@playwright/test';
test('has title', async ({ page }) => {
await page.goto('https://playwright.dev/');
await expect(page).toHaveTitle(/Playwright/);
});
test('get started link', async ({ page }) => {
await page.goto('https://playwright.dev/');
await page.getByRole('link', { name: 'Get started' }).click();
await expect(page.getByRole('heading', { name: 'Installation' })).toBeVisible();
});Dependencies
Declared by playwright v1.63.0. Runtime dependencies are installed with the package; dev dependencies are not.
Runtime (1)
Used by
Popular packages that depend on playwright.
Promise based HTTP client for the browser and node.js
A lightweight JavaScript debugging utility, forked from debug, featuring TypeScript and ESM support.
Low-level network interception library for Node.js.
Type safe SQL query builder
Base reporting library and report generators for istanbul
Leaner CSS
PGlite is a WASM Postgres build packaged into a TypeScript client library that enables you to run Postgres in the browser, Node.js and Bun, with no need to install any other dependencies. It is only 3.7mb gzipped.
SQLite Wasm conveniently wrapped as an ES Module.
Browser running for Vitest using playwright
Reliably determines if the code is running in Node.js
Create, read and edit .zip files with JavaScript http://stuartk.com/jszip
Environment-agnostic, ESM-friendly logger for simple needs.
The Expo CLI
WhatWG/W3C compliant EventSource client for Node.js and browsers
An implementation of WHATWG EventTarget interface.
A JavaScript library to zip and unzip files in the browser, Deno and Node.js
Zero dependency streaming tar parser and writer for JavaScript.
A high-level API to automate web browsers
Relationship graph
Dependencies (left) and dependents (right) of playwright.
Frequently installed together
TypeScript definitions for node
Next generation testing framework powered by Vite
Expo Router is a file-based router for React Native and web applications.
The Expo SDK
the most correct and second fastest glob implementation in JavaScript
The semantic version parser used by npm.
TypeScript definitions for debug
Lightweight debugging utility for Node.js and the browser
Browser running for Vitest using playwright
TypeScript definitions for ws
An AST-based pattern checker for JavaScript.
A high-level API to automate web browsers
Release history
50 releases in the last two years, typically about 1 day apart.
| Version | Published | Size | License |
|---|---|---|---|
| 1.64.0-alpha-2026-09-08 | 2 days ago | 4.8 MB | Apache-2.0 |
| 1.64.0-alpha-2026-09-07 | 3 days ago | 4.9 MB | Apache-2.0 |
| 1.64.0-alpha-2026-09-06 | 4 days ago | 4.9 MB | Apache-2.0 |
| 1.64.0-alpha-2026-09-05 | 5 days ago | 4.9 MB | Apache-2.0 |
| 1.63.0latest | 5 days ago | 4.9 MB | Apache-2.0 |
| 1.63.0-beta-1788559919000 | 5 days ago | 4.9 MB | Apache-2.0 |
| 1.63.0-beta-1788559629000 | 5 days ago | 4.9 MB | Apache-2.0 |
| 1.63.0-beta-1788557115000 | 5 days ago | 4.9 MB | Apache-2.0 |
| 1.63.0-beta-1788551604000 | 5 days ago | 4.9 MB | Apache-2.0 |
| 1.64.0-alpha-2026-09-04 | 6 days ago | 4.9 MB | Apache-2.0 |
| 1.63.0-beta-1788462384000 | 6 days ago | 4.9 MB | Apache-2.0 |
| 1.63.0-beta-1788477194000 | 6 days ago | 4.9 MB | Apache-2.0 |
| 1.63.0-alpha-1788460676000 | 6 days ago | 4.9 MB | Apache-2.0 |
| 1.63.0-alpha-2026-09-03 | 7 days ago | 4.9 MB | Apache-2.0 |
| 1.63.0-alpha-2026-09-02 | 8 days ago | 4.9 MB | Apache-2.0 |
Overview
playwright is an npm package that a high-level API to automate web browsers. It has 18 known dependents in the graph. The latest version is 1.63.0, released under the Apache-2.0 license.
Who should use it
Teams working in the npm ecosystem who need a high-level API to automate web browsers and value a focused solution.
When not to use it
Consider an alternative if you need to or if a more actively-maintained option better fits your npm stack.
Pros
- Ships TypeScript type definitions.
- Clear open-source license (Apache-2.0).
- Lean dependency tree (1 direct dependencies).
Cons
- No significant drawbacks detected from available metadata.
Auto-generated from collected registry metadata. No external claims are inferred.
Frequently asked questions
Should I use playwright?
Yes — playwright scores well across adoption, maintenance, weight, supply chain, and licensing. No download data reported for this package yet. Last published 5 days ago. 50 releases in the last 2 years.
How do I install playwright?
Run `npm install playwright` to add playwright to your npm project.
How many dependencies does playwright have?
playwright declares 1 direct dependency and pulls in 1 packages in total once its runtime tree is resolved totalling about 18 MB on disk.
What license is playwright released under?
playwright is distributed under the Apache-2.0 license.
How popular is playwright?
npm does not publish download counts. Within PackageGraph's crawl, 18 known packages depend on playwright.
Is playwright still maintained?
The most recent release of playwright (v1.63.0) was published 5 days ago.
Does playwright run install scripts?
No. playwright does not define preinstall, install, or postinstall scripts, so installing it does not execute publisher-supplied code.