playwright-cli

Automates browser interactions for web testing workflows via Playwright.

112|26|Updated Jan 25, 2026
One-click install
npx skills add https://github.com/Wide-Moat/open-computer-use --skill playwright-cli-wide-moat
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: playwright-cli
Source: https://github.com/Wide-Moat/open-computer-use/tree/main/skills/public/playwright-cli
Command: npx skills add https://github.com/Wide-Moat/open-computer-use --skill playwright-cli-wide-moat

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

It removes the manual effort of clicking, typing, navigating, and screenshotting web pages by letting an LLM drive a real browser workflow deterministically from a captured page snapshot.

Core Features & Use Cases

  • Browser interaction automation: Navigate pages, click and type into UI elements, select options, drag/hover, and handle dialogs.
  • Evidence and outputs: Create screenshots and PDFs, evaluate page JavaScript, and inspect console/network/DevTools signals.
  • Stateful testing workflows: Manage sessions, persist profiles, save and restore storage state (cookies/localStorage/sessionStorage), and support concurrent named browser sessions.
  • Use case: Validate a login and onboarding flow by opening the site, filling credentials, submitting, capturing a screenshot of the post-login dashboard, and saving storage state for reuse in subsequent tests.

Quick Start

Open a browser session and navigate to the target URL, then take a snapshot to identify element references for the next steps.

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 and browser interactions without manual clicking?

Automate web testing by driving a real browser session with Playwright to navigate pages, click elements, and fill forms deterministically from captured page snapshots without manual clicking or typing.

Can I save and restore browser session state for reuse in subsequent tests?

Yes, you can manage session state by saving and restoring storage state, including cookies, localStorage, and sessionStorage. This allows you to persist profiles and reuse authenticated sessions across multiple testing workflows.

What's the best way to capture evidence like screenshots and PDFs during web automation?

Capture evidence during web automation by executing screenshot and PDF commands within the browser session. This records visual UI validation outputs directly from the testing workflow.

How do I identify UI elements for clicking and typing in automated browser workflows?

Identify UI elements for automated clicking and typing by taking a page snapshot first. The snapshot provides element references used to target components for interaction commands like fill, select, drag, and hover.

Does this browser automation approach support request mocking and network inspection?

Yes, this browser automation approach supports request mocking and network inspection. You can evaluate page JavaScript and inspect console, network, and DevTools signals during UI validation tasks.