Playwright CLI Browser Automation
Automate browser interactions, manage multi-tab web sessions, and run end-to-end web testing directly from the command line.
Playwright CLI empowers Claude Code to control headless or headed web browsers, inspect DOM snapshots, and automate complex web workflows through terminal commands. Ideal for end-to-end testing, frontend verification, web automation, and debugging, this skill enables interactive element targeting via snapshot references, network request mocking, storage state management (cookies and localStorage), and DevTools tracing without requiring heavyweight manual scripting.
Key Features
01Session and profile persistence across multiple browser engines including Chromium, Firefox, and WebKit
02Interactive element manipulation via automated snapshot references, CSS selectors, or Playwright locators
03State persistence for session cookies, localStorage, and sessionStorage across runs
04Rich debugging support with screenshots, full-page PDFs, tracing, and video recordings
050 GitHub stars
06Network interception, request mocking, and DevTools console inspection
Use Cases
01Running, recording, and debugging end-to-end tests for web applications
02Automating multi-step web workflows like authentication flows and form submissions
03Conducting interactive visual QA and capturing UI review feedback