microsoft/playwright-cli
CLI for common Playwright actions. Record and generate Playwright code, inspect selectors and take screenshots. observed · 2026-08-28
Health v2 · maintenance only
98/100
- Activity 99
- Release rhythm 96
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 4.5
- age_days: 2266
- days_rel: 28
- days_push: 9
- n_releases_24m: 21
Adoption not part of the score
12871 stars · 697 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
A command-line interface for Playwright browser automation designed for coding agents like Claude Code and GitHub Copilot. It provides token-efficient browser control through concise commands and installable skills, supporting recording, selector inspection, and screenshots.
Use cases
- automate a browser from a coding agent without loading large tool schemas
- record user actions and generate Playwright test code
- take screenshots of web pages from the command line
- inspect and test selectors on a live page
- run end-to-end test flows on a website via CLI commands
- keep browser sessions with cookies across CLI invocations
When to choose
- you use coding agents (Claude Code, Copilot) that benefit from token-efficient CLI workflows over MCP
- you want to script browser actions with concise commands instead of writing code
- you need to record and generate Playwright automation code
- your agent must balance browser automation with large codebases in limited context windows
When to avoid
- you need persistent state, rich introspection, or iterative reasoning over page structure - prefer Playwright MCP
- you want a full-featured test runner with assertions and parallelism - use Playwright Test
- you need programmatic browser automation APIs in TypeScript, Python, .NET, or Java
Facets
cli-tool · maturity active
cli testing e2e-testing web-scraping agent-framework developer-tools testing web-development artificial-intelligence cli cross-platform windows playwright browser-automation coding-agents skills token-efficient screenshots codegen automation nodejs linux macos
10 sources
- readme: https://github.com/microsoft/playwright-cli · fetched 2026-08-28 · a3c86cbceddc
- homepage: https://playwright.dev · fetched 2026-08-29 · 1df034c136e5
- site_page: https://playwright.dev/docs/intro · fetched 2026-08-29 · ca82f3fc94fd
- site_page: https://playwright.dev/docs/api/class-playwright · fetched 2026-08-29 · 314ddc9f07f7
- site_page: https://playwright.dev/python/docs/intro · fetched 2026-08-29 · 5c5822e2deaa
- site_page: https://playwright.dev/dotnet/docs/intro · fetched 2026-08-29 · a6ef7805c7ac
- site_page: https://playwright.dev/java/docs/intro · fetched 2026-08-29 · 67158ea3c0a4
- site_page: https://playwright.dev/docs/getting-started-cli · fetched 2026-08-29 · 82b6590e3615
- site_page: https://playwright.dev/docs/getting-started-mcp · fetched 2026-08-29 · 6059653bd72c
- site_page: https://playwright.dev/docs/codegen · fetched 2026-08-29 · a9c039d63017
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| microsoft/playwright-cli | main | 98 |
For agents
markdown · JSON · MCP: product_card(name="microsoft/playwright-cli")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem