</>PackageGraphPackageGraph

playwright

npmv1.63.0TypeScript

A 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.

1
Direct dependencies

Runtime packages this one declares itself.

1
Total installed

Distinct packages in the full runtime tree, deduplicated the way a package manager would.

18 MB
Install size

Unpacked size of this package plus its entire runtime tree.

1
Tree depth

Longest resolved dependency chain below this package.

Licenses in the dependency tree

Apache-2.0

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.

typescriptFull 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.

Used by

Popular packages that depend on playwright.

axiosnpm

Promise based HTTP client for the browser and node.js

106.5M/wk4 dependentsMITTS
obugnpm

A lightweight JavaScript debugging utility, forked from debug, featuring TypeScript and ESM support.

61.1M/wk8 dependentsMITTS
@mswjs/interceptorsnpm

Low-level network interception library for Node.js.

20.3M/wk1 dependentsMITTS
kyselynpm

Type safe SQL query builder

15.6M/wk1 dependentsMIT
@vitest/istanbul-lib-reportnpm

Base reporting library and report generators for istanbul

496.4K/wk4 dependentsMITTS
lessnpm

Leaner CSS

0/wk2 dependentsApache-2.0
@electric-sql/pglitenpm

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.

0/wk2 dependentsApache-2.0TS
@sqlite.org/sqlite-wasmnpm

SQLite Wasm conveniently wrapped as an ES Module.

0/wk1 dependentsApache-2.0TS
@vitest/browser-playwrightnpm

Browser running for Vitest using playwright

0/wk10 dependentsMITTS
is-node-processnpm

Reliably determines if the code is running in Node.js

0/wk3 dependentsMITTS
jszipnpm

Create, read and edit .zip files with JavaScript http://stuartk.com/jszip

0/wk2 dependents(MIT OR GPL-3.0-or-later)TS
@open-draft/loggernpm

Environment-agnostic, ESM-friendly logger for simple needs.

0/wk1 dependentsMITTS
@expo/clinpm

The Expo CLI

0/wk2 dependentsMIT
eventsourcenpm

WhatWG/W3C compliant EventSource client for Node.js and browsers

0/wk3 dependentsMITTS
event-target-shimnpm

An implementation of WHATWG EventTarget interface.

0/wk2 dependentsMIT
@zip.js/zip.jsnpm

A JavaScript library to zip and unzip files in the browser, Deno and Node.js

0/wk2 dependentsBSD-3-ClauseTS
modern-tarnpm

Zero dependency streaming tar parser and writer for JavaScript.

0/wk3 dependentsMITTS
@playwright/testnpm

A high-level API to automate web browsers

0/wk9 dependentsApache-2.0TS

Relationship graph

Dependencies (left) and dependents (right) of playwright.

Frequently installed together

Release history

50 releases in the last two years, typically about 1 day apart.

Recent versions of playwright
VersionPublishedSizeLicense
1.64.0-alpha-2026-09-082 days ago4.8 MBApache-2.0
1.64.0-alpha-2026-09-073 days ago4.9 MBApache-2.0
1.64.0-alpha-2026-09-064 days ago4.9 MBApache-2.0
1.64.0-alpha-2026-09-055 days ago4.9 MBApache-2.0
1.63.0latest5 days ago4.9 MBApache-2.0
1.63.0-beta-17885599190005 days ago4.9 MBApache-2.0
1.63.0-beta-17885596290005 days ago4.9 MBApache-2.0
1.63.0-beta-17885571150005 days ago4.9 MBApache-2.0
1.63.0-beta-17885516040005 days ago4.9 MBApache-2.0
1.64.0-alpha-2026-09-046 days ago4.9 MBApache-2.0
1.63.0-beta-17884623840006 days ago4.9 MBApache-2.0
1.63.0-beta-17884771940006 days ago4.9 MBApache-2.0
1.63.0-alpha-17884606760006 days ago4.9 MBApache-2.0
1.63.0-alpha-2026-09-037 days ago4.9 MBApache-2.0
1.63.0-alpha-2026-09-028 days ago4.9 MBApache-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.

Maintainers

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.