One-click install
npx skills add https://github.com/testdino-hq/playwright-skill --skill playwright-cli-testdino-hq
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: playwright-cli
Source: https://github.com/testdino-hq/playwright-skill/tree/main/playwright-cli
Command: npx skills add https://github.com/testdino-hq/playwright-skill --skill playwright-cli-testdino-hq

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill helps you run end-to-end browser automation from your terminal without writing dedicated test scripts, so you can validate and debug web application behavior quickly and repeatably.

Core Features & Use Cases

  • Terminal-first browser control: Drive navigation, clicks, form input, keyboard/mouse actions, and tab/session management entirely via CLI commands.
  • Inspection-first interaction: Use snapshot-driven element refs to reliably target UI elements without guessing selectors.
  • Debugging and evidence capture: Record traces, view network/console output, and generate artifacts like screenshots/video/PDF to understand failures.
  • Advanced scenarios: Handle OAuth/popup flows, multi-page workflows, downloads/uploads, request mocking, and stateful sessions with auth storage.

Quick Start

Run playwright-cli open https://your-app.example.com, then run playwright-cli snapshot to identify element refs you can click and fill in subsequent 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 application UI testing from the terminal without writing test scripts?

Browser automation from the terminal uses Playwright CLI to drive navigation, clicks, and form input without dedicated scripts. You run commands like open and snapshot to inspect and validate UI behaviors repeatably.

Can I capture screenshots, video, or PDF evidence of browser automation failures?

Screenshot, video, and PDF capture is supported natively for debugging and evidence collection. The CLI enables you to record traces and view network or console output to understand application failures.

How do I target UI elements reliably during terminal-driven browser automation?

Reliable element targeting uses snapshot-driven element refs instead of guessing selectors. You run a snapshot command to inspect the page, then use the generated refs to click and fill elements in subsequent commands.

Does Playwright CLI support network mocking and multi-session workflows with auth state?

Network mocking and multi-session workflows are supported for authorized environments. The CLI handles OAuth and popup flows, manages session isolation, and saves auth storage state for stateful execution.

What is the best way to debug OAuth or popup flows in web applications via CLI?

Debugging OAuth and popup flows is handled by recording traces and capturing execution artifacts. The CLI provides deterministic execution pathways and advanced API access to inspect complex authentication behaviors.

Are there limitations to terminal-based browser automation for complex form wizards?

Terminal-based browser automation requires reliable snapshot-based targeting for complex form wizards. While it supports keyboard and mouse actions, execution pathways must remain deterministic to validate multi-page workflows successfully.