Automates browser interactions for web testing, form filling, screenshots, and data extraction using playwright-cli. Use when the user needs to navigate websites, interact with web pages, fill forms, take screenshots, test web applications, extract information from web pages, mock network requests, manage browser sessions, or generate test code.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# Browser Automation with playwright-cli
> Comprehensive CLI-driven browser automation — navigate, interact, mock, debug, record, and generate tests without writing a single script file.
## Quick Start
```bash
# Install and set up
playwright-cli install --skills
playwright-cli install-browser
# Open a browser and navigate
playwright-cli open https://playwright.dev
# Take a snapshot to see interactive elements (refs like e1, e2, e3...)
playwright-cli snapshot
# Interact using element refs from the snapshot
playwright-cli click e15
playwright-cli fill e5 "search query"
playwright-cli press Enter
# Take a screenshot
playwright-cli screenshot
# Close the browser
playwright-cli close
```
## Golden Rules
1. **Always `snapshot` first** — identify element refs before interacting; never guess ref numbers
2. **Use `fill` for inputs, `click` for buttons** — `type` sends keystrokes one-by-one, `fill` replaces the entire value
3. **Named sessions for parallel work** — `-s=name` isolates cookies, storage, and tabs per session
4. **Save auth state** — `state-save auth.json` after login, `state-load auth.json` to skip login next time
…
The line at the top of this page pins the label git:20260531.164971d, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
GET https://markdownregistry.com/api/v1/artifacts/art_j6ksiv2jtncdtv3z
GET https://markdownregistry.com/api/v1/resolve?ref=zebbern/claude-code-guide/playwright-cli
GET https://markdownregistry.com/api/v1/blob/d9d361b10171fa90a523706d7963222548109bebc472edf44bd30699ae9e9366
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
zebbern/claude-code-guide · skills/active-directory-attacks/SKILL.md · This skill should be used when the user asks to "attack Active Directory", "exploit AD", "Kerberoasting", "DCSync"…
zebbern/claude-code-guide · skills/api-fuzzing-bug-bounty/SKILL.md · This skill should be used when the user asks to "test API security", "fuzz APIs", "find IDOR vulnerabilities", "test…
zebbern/claude-code-guide · skills/api-shape-explorer/SKILL.md · Generate multiple radically different interface designs for a module using parallel sub-agents. Use when user wants to…
zebbern/claude-code-guide · skills/audit-flow/SKILL.md · Interactive system flow tracing across CODE, API, AUTH, DATA, NETWORK layers with SQLite persistence and Mermaid…
zebbern/claude-code-guide · skills/aws-penetration-testing/SKILL.md · This skill should be used when the user asks to "pentest AWS", "test AWS security", "enumerate IAM", "exploit cloud…
zebbern/claude-code-guide · skills/broken-authentication/SKILL.md · This skill should be used when the user asks to "test for broken authentication vulnerabilities", "assess session…
zebbern/claude-code-guide · skills/burp-suite-testing/SKILL.md · This skill should be used when the user asks to "intercept HTTP traffic", "modify web requests", "use Burp Suite for…
zebbern/claude-code-guide · skills/caching/SKILL.md · Caching strategies — invalidation, TTL guidelines, cache keys, cache layers, and when not to cache. Use when…
zebbern/claude-code-guide · skills/cloud-penetration-testing/SKILL.md · This skill should be used when the user asks to "perform cloud penetration testing", "assess Azure or AWS or GCP…
dicklesworthstone/pi_agent_rust · tests/ext_conformance/artifacts/agents-mikeastock/skills/playwright-cli/SKILL.md · Automates browser interactions for web testing, form filling, screenshots, and data extraction. Use when the user needs…
syahiidkamil/software-engineer-ai-agent-atlas · .claude/skills/playwright-cli/SKILL.md · Automate browser interactions, test web pages and work with Playwright tests.
asymmetric-al/core · .agents/skills/playwright-skill/playwright-cli/SKILL.md · Automates browser interactions for testing and validating your own web applications using playwright-cli. Use when you…
asymmetric-al/core · .agents/skills/playwright-cli/SKILL.md · Use Playwright CLI for ad hoc browser automation and interactive verification of Core UI: opening local routes…
pskoett/pmx-canvas · skills/playwright-cli/SKILL.md · Browser automation via the Playwright CLI for validating PMX Canvas, embedded web artifacts, and external integrations…
ulises-jeremias/agent-toolkit · plugins/agent-toolkit-complete/.opencode/skills/playwright-cli/SKILL.md · Drive a real browser from the terminal using the Playwright CLI (snapshot, click, fill, screenshots,