playwright-cli - Automate browser interactions and test web pages via CLI
Automates browser interactions, navigates web pages, captures screenshots or snapshots, and manages storage and sessions.
Tags
Updated: 2026-09-24Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Navigate web pages
- Interact with page elements
- Capture screenshots and PDFs
- Take DOM snapshots
- Execute JavaScript code
- Manage tabs and browser sessions
- Manage storage and cookies
- Route network requests
Inputs
- Page URLs
- Element selectors and refs
- Authentication state files
- Script files and code snippets
Outputs
- PNG screenshots and PDF documents
- YAML snapshot files
- WebM video recordings
- Saved state JSON files
- Evaluated result outputs
Requirements
- playwright-cli CLI tool
- Node.js environment with npm or npx
- Bash tool permissions
