playwright-cli

Automate browser interactions for web testing via a command-line interface.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Automates browser interactions for web testing, form filling, screenshots, and data extraction, enabling rapid, repeatable automation of browser tasks.

Core Features & Use Cases

  • Comprehensive CLI commands for navigation and interaction (open, goto, type, click, fill, snapshot) to drive browser automation in Go projects.
  • Support for multi-session workflows, storage state management, tracing, and video capture to aid debugging, QA, and documentation.
  • Useful in framework or library mode to scaffold tests, automate UI flows, and generate reproducible results across environments.

Quick Start

Open a browser session and begin automating common tasks such as navigation, form filling, and capturing screenshots.

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 for web testing and form filling?

Browser automation for web testing and form filling is executed through a command-line interface using commands like open, goto, type, click, fill, and snapshot to navigate pages and interact with elements.

Can I capture screenshots and extract data from web applications using a CLI?

Yes, screenshots and data extraction from web applications are supported natively, enabling you to capture page states and pull information rapidly during automated browser sessions.

Does this browser automation tool support multi-session workflows and storage state management?

Multi-session workflows and storage state management are supported, allowing you to maintain contexts across different sessions for complex UI flows and reproducible testing environments.

How do I debug automated browser tests when a form filling or navigation step fails?

Debugging failed browser tests is handled through built-in tracing and video capture features, which record session interactions to help you identify exact failure points during navigation or form filling.

What is the best way to scaffold UI tests and automate browser tasks in Go projects?

Scaffolding UI tests and automating browser tasks in Go projects is achieved by applying this tool in framework or library mode to generate reproducible results across different environments.

Are there limitations when using a CLI for browser automation versus a full testing framework?

CLI-based browser automation focuses on driving interactions via commands like click and fill rather than providing a full assertion library, meaning you will need complementary tools for validating extracted data or test outcomes.