playwright-cli

Automate browser testing, form filling, and data extraction via CLI.

1|Updated Mar 4, 2026
One-click install
npx skills add https://github.com/wudong/tt-players --skill playwright-cli-wudong
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: playwright-cli
Source: https://github.com/wudong/tt-players/tree/main/.agents/skills/playwright-cli
Command: npx skills add https://github.com/wudong/tt-players --skill playwright-cli-wudong

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Streamlines repetitive browser tasks by controlling a real or headless browser from the command line, enabling consistent testing, form interaction, and data capture without manual steps.

Core Features & Use Cases

  • Automates end-to-end browser workflows (open, goto, click, fill, snapshot) across multiple sessions with isolated contexts.
  • Supports a broad set of interactions (keyboard, mouse, navigation, storage, network routing) and state management (cookies, localStorage, sessionStorage, storage state).
  • Generates artifacts (snapshots, traces, videos) for debugging, reporting, and test documentation.

Quick Start

Open a browser, go to a page, perform actions like click and fill, then save a snapshot to establish a baseline.

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 testing and capture screenshots from the command line?

Browser automation for testing uses a headless browser to navigate pages, fill forms, and capture screenshots, ensuring consistent data extraction and test documentation without manual interaction.

Can I manage cookies and localStorage across multiple isolated browser sessions?

Yes, managing browser session state across isolated contexts is fully supported, allowing you to control cookies, localStorage, and sessionStorage to maintain or reset state for repeatable testing workflows.

What is the best way to automate web form filling and data extraction?

Automating web form filling and data extraction is best handled by scripting browser interactions to open pages, fill fields, and export results, enabling repeatable end-to-end workflows across multiple sessions.

Does this browser automation tool support keyboard, mouse, and network routing?

Yes, the browser automation tool supports a broad set of interactions including keyboard, mouse, and navigation events, alongside network routing to intercept and modify network requests during testing.

How do I generate debugging artifacts like traces and videos for web automation tasks?

Generating debugging artifacts for web automation involves running browser tasks that automatically produce snapshots, traces, and videos, providing visual outputs for debugging, reporting, and test documentation.

Why use isolated browser contexts for end-to-end testing instead of a single session?

Using isolated browser contexts for end-to-end testing prevents state leakage between sessions, ensuring that cookies and storage state remain independent for accurate, repeatable form interaction and data extraction.