playwright-cli

Automate browser interactions and generate Playwright test code via CLI.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This skill solves the complexity of manual browser interaction and brittle test automation by providing a unified, command-line interface to control browser sessions, inspect DOM elements, and generate robust Playwright test code.

Core Features & Use Cases

  • Interactive Browser Control: Navigate, click, type, and manage tabs or cookies across multiple isolated browser sessions.
  • Test Generation & Healing: Automatically generate Playwright TypeScript code from your actions and diagnose failing tests by attaching to live browser sessions.
  • Advanced Debugging: Capture network activity, console logs, and visual traces to troubleshoot complex web application behaviors.

Quick Start

Use the playwright-cli skill to open a browser, navigate to the target website, and generate a snapshot of the page elements.

Frequently Asked Questions about playwright-cli

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

FAQPage Schema
How do I generate Playwright test code from browser interactions?▼

Debug failing Playwright tests by attaching the CLI to a live browser session to inspect DOM elements, capture network activity, console logs, and visual traces for troubleshooting.

Can I manage multiple isolated browser sessions for testing?▼

Yes, you can manage multiple isolated browser sessions to navigate, click, type, and handle tabs or cookies independently across different testing workflows.

Do I need Node.js installed to run Playwright automation workflows?▼

Yes, running Playwright automation workflows requires a Node.js environment with the Playwright framework installed to execute browser tasks and generate test code.

What is the best way to inspect DOM elements during web automation?▼

The best way to inspect DOM elements during web automation is using the unified command-line interface to control browser sessions and generate snapshots of page elements.

How does capturing network activity help with debugging web applications?▼

Capturing network activity helps debugging web applications by recording requests and responses alongside console logs and visual traces to troubleshoot complex behaviors in failing tests.