playwright-cli
Installation
SKILL.md
Playwright CLI
Automate browsers through shell commands via the Bash tool.
Core Workflow
Every interaction follows this pattern:
- Open a page:
playwright-cli open <url> - Snapshot to discover elements:
playwright-cli snapshot - Interact using refs from the snapshot:
playwright-cli click <ref> - Verify the result:
playwright-cli screenshotorplaywright-cli snapshot
Always run snapshot before interacting — element refs come exclusively from
snapshot output and become stale after navigation.