playwright-cli

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

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Automates repetitive browser tasks such as testing, form filling, navigation, and data extraction to speed up QA and data workflows.

Core Features & Use Cases

  • Open and navigate pages with a command-line interface
  • Fill forms, click elements, take snapshots, and generate test-like code
  • Manage persistent browser sessions, storage state, traces, and videos for debugging and documentation
  • Use references content to guide advanced workflows and edge cases

Quick Start

Open a browser session with playwright-cli and begin automating a web task.

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 testing for login flows and form submission?

Browser testing for login flows and form submission is automated through a command-line interface. You use commands like open, goto, click, and fill to interact with web elements, manage persistent sessions, and execute multi-page testing workflows.

What is the best way to extract data from multiple web pages during a persistent session?

Data extraction across multiple pages is handled using persistent browser sessions. You navigate with goto commands and capture page states using the snapshot command, enabling continuous data collection without losing your session storage state.

Can I generate test code and visual traces while automating web scraping tasks?

Yes, web scraping and testing automation can generate test-like code, visual traces, and videos. These outputs are produced during command execution to assist with debugging, documentation, and verifying visual checks across your automation workflows.

Does browser automation support taking snapshots and managing storage state for QA workflows?

Browser automation supports QA workflows by taking snapshots and managing storage state. This allows you to preserve authentication sessions and capture exact page conditions needed for reliable test execution and debugging.

Why does my web automation task fail to maintain login state across multiple page navigations?

Web automation login state is maintained across pages by using persistent browser sessions and storage state management. If your task fails to maintain login, you need to configure session persistence to prevent losing authentication data during navigation.