playwright-cli

Execute Playwright CLI commands for browser testing and development tasks.

2|Updated Feb 14, 2026
One-click install
npx skills add https://github.com/hideki5123/agent-skill-set --skill playwright-cli-hideki5123
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: playwright-cli
Source: https://github.com/hideki5123/agent-skill-set/tree/main/playwright-cli
Command: npx skills add https://github.com/hideki5123/agent-skill-set --skill playwright-cli-hideki5123

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill allows you to execute any Playwright command directly from the command line, streamlining tasks like running tests, generating code, managing browsers, and debugging.

Core Features & Use Cases

  • Test Execution: Run Playwright tests with various filters, projects, and configurations.
  • Code Generation: Generate test code by recording browser interactions.
  • Browser Management: Install, manage, and clear Playwright browsers and their dependencies.
  • Reporting & Debugging: View test reports, trace execution, and debug tests interactively.
  • Use Case: You need to run all Playwright tests in your project that match the pattern "login" and are configured for the "chromium" project, then view the HTML report.

Quick Start

Run all playwright tests in the project.

Frequently Asked Questions about playwright-cli

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

FAQPage Schema
How do I run Playwright tests from the command line for a specific project like chromium?

Run Playwright tests from the command line by invoking `npx playwright` with project filters. You can target specific configurations like chromium and execute test suites matching specific patterns directly through the CLI.

Can I generate Playwright test code by recording browser interactions?

Yes, you can generate Playwright test code by recording browser interactions. The CLI supports code generation through direct invocation of `npx playwright`, allowing you to capture actions and automatically create test scripts.

How do I install and manage Playwright browsers using CLI commands?

Install and manage Playwright browsers using CLI commands via `npx playwright`. This supports browser installation, dependency management, and clearing browsers, ensuring your automated browser testing environment is properly configured.

What is the best way to debug Playwright tests and view execution traces?

Debug Playwright tests interactively and view execution traces using the CLI. By invoking `npx playwright`, you can trace browser automation workflows, debug test suites, and generate HTML reports for detailed analysis.

Do I need any external dependencies to use Playwright CLI commands for browser automation?

No external dependencies are required to use Playwright CLI commands for browser automation. The Skill operates independently, executing `npx playwright` directly to manage test execution, code generation, and browser installation without additional setup.