playwright
Installation
SKILL.md
Playwright CLI Skill
Drive a real browser from the terminal using playwright-cli. Prefer the bundled wrapper script so the CLI works even when it is not globally installed.
Treat this skill as CLI-first automation. Do not pivot to @playwright/test unless the user explicitly asks for test files.
Choose this skill when:
- you want a short, reproducible terminal workflow or command sequence
- the target is a web app or website rather than Electron
- restarting or reopening the browser during debugging is acceptable
- you want snapshots, traces, or screenshots without maintaining a long-lived session
Use playwright-interactive instead when the same browser state must survive multiple edits, when the task is heavily iterative, or when you are debugging Electron.
Prerequisite check (required)
Before proposing commands, check whether npx is available (the wrapper depends on it):