playwright-cli
Installation
Summary
Browser automation with 40+ commands for navigation, interaction, form filling, and web testing.
- Supports multiple browsers (Chrome, Firefox, WebKit, Edge) with persistent profiles, extensions, and custom configurations
- Core interactions include clicking, typing, dragging, selecting, uploading files, and handling dialogs across page elements
- Storage management for cookies, localStorage, and sessionStorage; network request mocking and routing for testing
- DevTools integration with console logging, network inspection, tracing, and video recording for debugging
- Named browser sessions for parallel workflows and snapshot-based page state capture after each command
SKILL.md
Browser Automation with playwright-cli
Quick start
# open new browser
playwright-cli open
# navigate to a page
playwright-cli goto https://playwright.dev
# interact with the page using refs from the snapshot
playwright-cli click e15
playwright-cli type "page.click"
playwright-cli press Enter
# take a screenshot (rarely used, as snapshot is more common)
playwright-cli screenshot
# close the browser
playwright-cli close
Related skills
More in Testing
test-driven-development
TDD loop: write the failing test first, implement the minimal change, verify, then refactor
obra/superpowerswebapp-testing
Web app testing patterns covering unit, integration, and end-to-end approaches
anthropics/skillsverification-before-completion
Force a verification pass before any task is marked done
obra/superpowersplaywright-best-practices
Playwright patterns: selectors, fixtures, parallelism, and CI integration
currents-dev/playwright-best-practices-skill
Installs
56.3K
Repository
microsoft/playwright-cliGitHub Stars
11.3K
First Seen
Jan 23, 2026
Security Audits