Development · GitHub repo
Playwright CLI
Command-line browser automation tool optimized for AI coding agents and testing.
Playwright CLI provides a command-line interface for automating browsers using Playwright. Unlike traditional full-tree model integrations, it exposes actions as concise commands that keep context usage token-efficient for agents like Claude Code and GitHub Copilot. It includes support for persistent sessions, DOM element snapshots, live monitoring dashboards, and media recording.
What it's for
- Equip AI coding agents like Claude Code to test frontend web applications
- Inspect accessibility trees and grab DOM snapshots from terminal commands
- Capture screenshots and record interaction videos during automated test runs
- Control and debug multiple browser sessions simultaneously using a visual dashboard
Features
- Token-efficient CLI actions tailored as skills for AI coding agents
- Snapshot engine returning element reference IDs for easy targeting
- Session management with memory caching or persistent profile disk storage
- Visual dashboard for monitoring multiple live sessions and taking remote control
- Video recording with action callouts, custom cursors, and chapter markers
- Built-in device and color scheme emulation for testing responsive designs
- Support for cookie, localStorage, and sessionStorage manipulation
Pricing
Open source. Free and open-source (Apache-2.0)
Details
- Type
- GitHub repo
- Category
- Development
- Topic
- Browser Automation
- Open source
- Yes
- Platforms
- Command line, macOS, Windows, Linux
- For
- Software developers and AI agents automating frontend testing and browser tasks
- Alternative to
- Puppeteer, Cypress, Selenium
- Tags
- playwright, cli, browser automation, testing, ai agents, claude code
Why it was saved
- @chase.h.ai: Allows coding agents to execute browser interactions, test UI edge cases, and capture snapshots without requiring manual user testing.
Compare
Related
Browser automation CLI and engine purpose-built for AI agents
Cloud-hosted stealth browser infrastructure and execution platform for AI agents.
Open-source web apps and AI browser tools built with Hyperbrowser
Lightweight Go binary exposing an HTTP API to control Chrome browsers
Run browser automation agents inside on-demand isolated sandbox environments
Self-improving browser automation skill for AI coding agents
Updated