playwright-cli

Automate browser interactions and web testing workflows via Playwright CLI.

1|Updated Jul 12, 2026
One-click install
npx skills add https://github.com/Tyler-R-Kendrick/slm-training --skill playwright-cli-tyler-r-kendrick
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: playwright-cli
Source: https://github.com/Tyler-R-Kendrick/slm-training/tree/main/.agents/skills/playwright-cli
Command: npx skills add https://github.com/Tyler-R-Kendrick/slm-training --skill playwright-cli-tyler-r-kendrick

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This skill eliminates the manual overhead of browser-based testing and web interaction by providing a command-line interface to control browser sessions, perform complex user flows, and extract data from live web pages.

Core Features & Use Cases

  • Browser Automation: Execute complex sequences like form submissions, multi-tab navigation, and authentication flows programmatically.
  • Test Generation & Debugging: Generate Playwright TypeScript code from interactive sessions and debug failing tests by attaching to live browser instances.
  • State Management: Manage cookies, local storage, and session storage to persist authentication or simulate specific user states across multiple sessions.

Quick Start

Use the playwright-cli skill to open a browser, navigate to a specific URL, and take 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 automate browser interactions and web testing workflows from the command line?

Browser automation and web testing workflows are automated through a command-line interface that controls browser sessions, executes complex user flows, and extracts data from live web pages programmatically.

Can I generate Playwright TypeScript code from interactive browser sessions?

Yes, Playwright TypeScript code can be generated directly from interactive browser sessions to facilitate end-to-end test generation and create reproducible test scripts for complex web applications.

How do I manage cookies and local storage to persist authentication across multiple browser sessions?

State management capabilities allow you to manage cookies, local storage, and session storage to persist authentication or simulate specific user states across multiple automated browser sessions.

Do I need Node.js and Playwright installed to execute browser commands and debug tests?

Yes, both Playwright and Node.js are required dependencies to execute browser commands, attach to live browser instances for debugging, and generate reproducible test code.

What is the best way to debug failing end-to-end tests for complex web applications?

Debug failing end-to-end tests by attaching to live browser instances through the command-line interface, allowing you to inspect complex user flows and manage application state interactively.