playwright
officialpopularbrowser automationnpm
Microsoft · Browser testing, automation, and headless scripts from the terminal.
$ npm i -D @playwright/testOne-liner to try
$ npx playwright testAgent pack
Copy into an agent
A markdown-ready setup brief with install, verify, safe starting commands, and guardrails for AI agents.
Readiness
Usable with guardrails · 50/100
Verify
playwright --version
Agent URL
/cli/playwright/agent.md
Quick reference
Install
npm i -D @playwright/testVerify
playwright --versionFirst command
npx playwright testAbout
The official CLI from Microsoft. Browser testing, automation, and headless scripts from the terminal.
Example workflow
1. npx playwright test