playwright-cli

Automate browser interactions for web testing, form filling, screenshots, and data extraction.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill automates browser interactions, making it easy to navigate websites, fill forms, take screenshots, and extract data without manual effort.

Core Features & Use Cases

  • Web Navigation: Open URLs, go back/forward, reload pages.
  • User Interaction: Type text, click elements, select options, upload files, check/uncheck boxes.
  • Data Handling: Save/load storage state (cookies, localStorage), capture screenshots, generate PDFs.
  • Advanced Features: Mock network requests, run custom JavaScript, manage browser tabs, and start/stop tracing or video recording.
  • Use Case: Automate the process of logging into a web application, filling out a complex form, and then submitting it, all through a simple command-line interface.

Quick Start

Use the playwright-cli skill to open the playwright.dev website and take a screenshot.

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 for web testing and form filling?

Automate browser interactions by using a command-line interface to navigate websites, fill out complex forms, and submit them without manual effort. This skill handles user inputs like typing text, clicking elements, and selecting options.

Can I take screenshots and extract data from web pages using browser automation?

Yes, browser automation allows you to capture screenshots, extract information from web pages, and generate PDFs. You can navigate to target URLs and save these artifacts directly through command-line execution.

Does this browser automation tool support mocking network requests and running custom JavaScript?

Yes, the automation tool supports advanced features including mocking network requests, running custom JavaScript, managing browser tabs, and utilizing debugging tools like tracing and video recording.

How do I manage storage state like cookies and localStorage during web scraping?

Manage storage state by saving and loading cookies along with localStorage during your web scraping sessions. This allows you to maintain authentication states and persist data across multiple automated browser interactions.

What is the best way to test web applications through a command-line interface?

The best way to test web applications via a command-line interface is using an automation tool that supports core browser commands, keyboard and mouse actions, and network routing. You can simulate user behavior and record traces for debugging.