playwright

officialpopularbrowser automationnpm

Microsoft · Browser testing, automation, and headless scripts from the terminal.

$ npm i -D @playwright/test
One-liner to try
$ npx playwright test

Agent pack

Copy into an agent

A markdown-ready setup brief with install, verify, safe starting commands, and guardrails for AI agents.

Open .md
Readiness
Usable with guardrails · 50/100
Verify
playwright --version
Agent URL
/cli/playwright/agent.md

Quick reference

Installnpm i -D @playwright/test
Verifyplaywright --version
First commandnpx playwright test

About

The official CLI from Microsoft. Browser testing, automation, and headless scripts from the terminal.

Example workflow

1. npx playwright test

Alternatives worth considering