What problem does it solve? Manually driving a browser to test web pages, debug failing Playwright tests, or record automation flows is slow and error-prone. This Skill lets you control a real browser session from the command line, inspect page state via accessibility snapshots, and automatically capture the equivalent Playwright TypeScript code for every action. ## Core Features & Use Cases - Interactive Browser Automation: Open pages, click, fill forms, drag, upload files, and manage tabs using element refs from accessibility snapshots. - Test Authoring and Healing: Run Playwright tests with --debug=cli, attach to the paused session, rehearse fixes, and copy the generated TypeScript directly into test files following a plan-generate-heal workflow. - Session, Storage, and Network Control: Run isolated named sessions, save and restore cookies/localStorage state, and mock or block network requests with route rules. - Use Case: A failing CI test needs diagnosis — run it with --debug=cli, attach playwright-cli to the paused browser, inspect the snapshot and console, rehearse the corrected locator, and paste the generated code back into the test. ## Quick Start Ask the AI to open a website with playwright-cli, take a snapshot of the page, and click a specific element by its ref.