playwright-cli

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

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill automates repetitive browser tasks like testing, form filling, and data extraction, freeing up your time and ensuring consistency.

Core Features & Use Cases

  • Browser Navigation: Open pages, navigate back/forward, and reload.
  • Interaction: Click, type, fill forms, drag elements, and handle dialogs.
  • Data Handling: Save/load storage state (cookies, localStorage), take screenshots, and generate PDFs.
  • Use Case: Automate the process of logging into a web application, filling out a complex form, and then taking a screenshot of the confirmation page.

Quick Start

Use the playwright-cli skill to open the website playwright.dev 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?

You can automate browser interactions for web testing and form filling by using the playwright-cli tool to open pages, navigate, click, type, and handle dialogs programmatically. It supports keyboard and mouse input for complex workflows.

Can I take screenshots and generate PDFs during web data extraction?

Yes, you can take screenshots and generate PDFs during web data extraction by executing browser commands. The tool captures visual outputs of the current page state for confirmation or record-keeping.

How do I save and load browser storage states like cookies and localStorage?

To save and load browser storage states like cookies and localStorage, use the playwright-cli data handling commands. This allows you to persist sessions and resume authenticated browser contexts without repeated logins.

Does this browser automation tool support running custom JavaScript code?

Yes, this browser automation tool supports running custom JavaScript code within the browser context. You can execute scripts directly to interact with page elements or extract specific data dynamically.

What is the best way to mock network requests in an automated browser workflow?

The best way to mock network requests in an automated browser workflow is to use the playwright-cli network request mocking commands. This intercepts and alters network traffic to test application behavior under controlled conditions.