playwright-cli

Automate browser interactions and inspect web page state via Playwright CLI.

2|Updated Mar 31, 2026
One-click install
npx skills add https://github.com/s205109/AHKFlowApp --skill playwright-cli-s205109
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: playwright-cli
Source: https://github.com/s205109/AHKFlowApp/tree/main/.claude/skills/playwright-cli
Command: npx skills add https://github.com/s205109/AHKFlowApp --skill playwright-cli-s205109

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill simplifies manual, time-consuming browser debugging and repetitive UI interactions by providing an interactive CLI to control Playwright sessions, inspect DOM snapshots, and reproduce issues without writing test files.

Core Features & Use Cases

  • Interactive Session Control: open, navigate, click, type, manage tabs, and handle multiple named browser sessions for parallel workflows.
  • Debugging & Test Support: attach to paused Playwright tests, generate Playwright code from CLI actions, and run tracing and video recording for root-cause analysis.
  • Network, Storage & Mocking: intercept and mock requests, manipulate cookies and local/session storage, and save/restore storage state for reproducible test scenarios.

Quick Start

Open a browser to the target URL, take a snapshot, and interactively click or fill elements with playwright-cli.

Frequently Asked Questions about playwright-cli

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate browser interactions and inspect web page state without writing test files?

You can automate browser interactions and inspect web page state using a CLI wrapper for Playwright, which allows you to execute commands, take DOM snapshots, and interact with elements interactively instead of writing full test scripts.

Can I generate Playwright code from CLI actions for debugging?

Yes, you can generate Playwright code directly from CLI actions. The tool supports interactive debugging by letting you perform actions and generate corresponding code for root-cause analysis without manual scripting.

How do I mock network requests and manage browser storage state for reproducible testing?

You can intercept and mock network requests, manipulate cookies and local or session storage, and save or restore storage state to create reproducible test scenarios via the interactive CLI session.

Does this tool support tracing and video recording for Playwright sessions?

Yes, the tool supports tracing and video recording for Playwright sessions. You can attach to paused tests, run tracing, and record videos to capture browser interactions for root-cause analysis.

Do I need Playwright installed to use this browser automation CLI?

Yes, you need Playwright available on your system. The tool requires Playwright to be installed either via npx or globally to execute the CLI commands and manage browser sessions.

What is the best way to manage multiple parallel browser sessions for testing?

The best way to manage parallel workflows is by using named browser sessions. The CLI lets you open, navigate, click, type, and handle multiple named sessions simultaneously for parallel testing.