playwright-cli

Automate browser navigation, form filling, and data extraction via CLI commands.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Automates browser interactions to streamline web testing and automation tasks.

Core Features & Use Cases

  • Open and control browsers from the command line, supporting actions like goto, click, fill, type, and snapshot.
  • Capture traces, screenshots, and storage state to aid debugging and reproducible tests.
  • Manage multiple browser sessions with isolation for concurrent testing and flexible configurations.

Quick Start

Open a browser session and run a sequence of actions using the playwright-cli open, goto, click, and snapshot commands.

Frequently Asked Questions about playwright-cli

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

FAQPage Schema
How do I automate web testing tasks from the command line?

You can automate web testing from the command line by using a CLI to control browser interactions, executing actions like goto, click, fill, and type to streamline navigation and form filling. This approach applies Playwright browser automation directly through terminal commands.

Can I capture screenshots and traces while automating browser navigation?

Yes, capturing screenshots and traces during browser automation is supported. You can generate traces and take snapshots to aid debugging and ensure reproducible tests across your web automation sequences.

How do I manage multiple browser sessions for concurrent testing?

Managing multiple browser sessions for concurrent testing is handled through per-session browser control with isolation. This allows you to run flexible configurations and isolated sessions concurrently across different websites.

What is the best way to extract data from websites using a CLI?

Data extraction from websites using a CLI involves automating browser interactions to navigate pages and capture snapshots. By chaining commands like open, goto, and snapshot, you can extract data from targeted web pages.

Does browser automation support isolated storage state for reproducible tests?

Yes, browser automation supports capturing storage state to aid debugging and reproducible tests. You can manage isolated sessions and preserve storage state across your automated browser interactions.