playwright-cli

Automate browser interactions and Playwright web testing workflows.

Updated Jun 15, 2026
One-click install
npx skills add https://github.com/giovi1998/SitoPreventivo --skill playwright-cli-giovi1998
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: playwright-cli
Source: https://github.com/giovi1998/SitoPreventivo/tree/main/.agents/skills/playwright-cli
Command: npx skills add https://github.com/giovi1998/SitoPreventivo --skill playwright-cli-giovi1998

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill removes the friction of manually testing web apps by letting you drive a browser, inspect the live DOM, and reproduce user flows with precise, repeatable actions.

Core Features & Use Cases

  • Browser automation: Open pages, navigate tabs, click, type, drag, upload files, and interact with real UI controls.
  • Testing and debugging: Run Playwright tests, attach to paused sessions, inspect snapshots, trace failures, and validate selectors or assertions.
  • Advanced workflows: Mock network requests, manage storage state, capture screenshots or video, and support spec-driven test generation and healing.
  • Use case: A QA engineer can explore a new checkout flow, record the key steps, and turn the session into a stable regression test.

Quick Start

Use playwright-cli to open your app, take a snapshot, and interact with the visible elements until you have reproduced or verified the workflow.

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 a trace of failing interactions?

Automate browser testing by driving UI interactions, taking DOM snapshots, and validating assertions, then capture trace files and video recordings to inspect failures and debug paused sessions.

Can I mock network requests and manage storage state during web testing?

Mock network requests and manage storage state during web testing to maintain session-aware automation, ensuring deterministic workflows across navigation, form filling, and user authentication flows.

What is the best way to generate regression tests from an interactive browser session?

Generate regression tests from an interactive browser session by recording key UI steps and converting them into stable, spec-driven test scripts using semantic locators and assertions.

Does Playwright support attaching to paused debugging sessions for live inspection?

Playwright supports attaching to paused debugging sessions for live inspection, allowing you to evaluate DOM snapshots, validate selectors, and trace failures interactively during test execution.

How do I interact with real UI controls like uploading files or dragging elements in browser automation?

Interact with real UI controls in browser automation by driving pages to click, type, drag, upload files, and navigate tabs, using semantic locators for precise and repeatable actions.

When should I use request mocking instead of live network calls in web testing workflows?

Use request mocking instead of live network calls when you need deterministic, session-aware automation that isolates test behavior from external dependencies and ensures repeatable web testing outcomes.