Development · GitHub repo

Playwright CLI

Command-line browser automation tool optimized for AI coding agents and testing.

Visit github.com ↗

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, 3 August 2026: Allows coding agents to execute browser interactions, test UI edge cases, and capture snapshots without requiring manual user testing.

Compare

Related

  • agent-browser

    Browser automation CLI and engine purpose-built for AI agents

  • Browser Use Cloud

    Cloud-hosted stealth browser infrastructure and execution platform for AI agents.

  • Hyperbrowser App Examples

    Open-source web apps and AI browser tools built with Hyperbrowser

  • PinchTab

    Lightweight Go binary exposing an HTTP API to control Chrome browsers

  • agent-browser Environments

    Run browser automation agents inside on-demand isolated sandbox environments

  • autobrowse

    Self-improving browser automation skill for AI coding agents

All 11 in Browser Automation →

Updated