playwright

Automate browser workflows from the terminal using the Playwright CLI.

2|Updated Apr 6, 2017
One-click install
npx skills add https://github.com/shiiman/dotfiles --skill playwright-shiiman
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: playwright
Source: https://github.com/shiiman/dotfiles/tree/main/ai/codex/skills/playwright
Command: npx skills add https://github.com/shiiman/dotfiles --skill playwright-shiiman

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires @playwright/mcp, and includes scripts (resource) and references (resource) components.

What problem does it solve?

The Playwright CLI skill enables reliable, scriptable browser automation from the command line, removing the need for heavy GUI-based tooling for common workflows.

Core Features & Use Cases

  • CLI-first browser automation using Playwright CLI or the bundled wrapper script.
  • Supports actions such as open, snapshot, click, type, fill, screenshot, and data extraction, with guidance on stable element references via snapshots.
  • Use cases include automated form submissions, UI-flow debugging, end-to-end test-like tasks in terminal environments, and quick-yet-reliable page interactions.

Quick Start

Launch the wrapper script to open a page and begin interacting with it in headed mode.

Frequently Asked Questions about playwright

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

FAQPage Schema
How do I automate browser workflows from the terminal without a GUI?

Browser automation from the terminal is achieved using the Playwright CLI or a bundled wrapper script. This enables scriptable navigation, form interactions, and data extraction without needing heavy GUI-based tooling.

Do I need Node.js and npm to run Playwright CLI automation?

Yes, you need Node.js and npm installed to provide npx for running the Playwright CLI. The wrapper script executes playwright-cli via npx, though optional global installation is also supported.

Can I extract web data and take screenshots using CLI browser automation?

Yes, CLI browser automation supports data extraction and screenshots. It provides actions like snapshot, screenshot, click, type, and fill, using stable element references via snapshots to reliably extract web data.

What is the best way to debug UI flows in a terminal environment?

The best way to debug UI flows in a terminal environment is using the Playwright CLI wrapper script. It allows you to open pages in headed mode, take snapshots, and interact with elements for end-to-end UI debugging.

Does this CLI browser automation tool support automated form submissions?

Yes, the CLI browser automation tool supports automated form submissions. It provides specific actions like type, fill, and click, enabling reliable scriptable form interactions directly from the command line.