playwright

Automate browser interactions and UI workflows via a terminal-based CLI.

Updated Jul 6, 2026
One-click install
npx skills add https://github.com/shirulot/codex-skill --skill playwright-shirulot
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: playwright
Source: https://github.com/shirulot/codex-skill/tree/main/playwright
Command: npx skills add https://github.com/shirulot/codex-skill --skill playwright-shirulot

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This skill solves the challenge of automating web interactions, UI testing, and data extraction directly from the command line without needing to manually navigate or click through browser interfaces.

Core Features & Use Cases

  • Browser Automation: Perform navigation, form filling, and UI interactions like clicking, typing, and scrolling.
  • Data Extraction & Artifacts: Capture screenshots, PDFs, and DOM snapshots for debugging or data collection.
  • Use Case: Use this skill to automate a multi-step login process on a web portal, extract specific data points from the resulting dashboard, and save a screenshot of the final state for verification.

Quick Start

Use the playwright skill to open the website at https://example.com and capture a screenshot of the page.

Frequently Asked Questions about playwright

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

FAQPage Schema
How do I automate browser workflows like form submission and navigation from the terminal?

Browser workflows are automated from the terminal using a CLI interface to perform real interactions like navigation, form filling, and UI clicking without manual intervention.

Can I extract data and capture screenshots from web applications using command line automation?

Yes, command line web automation can capture screenshots, generate PDFs, and extract DOM snapshots from complex web applications to support visual debugging and data collection.

Do I need Node.js and npm installed to run Playwright browser automation tasks?

Yes, Node.js, npm, and the playwright-cli package are required dependencies to reliably execute browser automation tasks, UI interactions, and web data extraction from the terminal.

What is the best way to automate a multi-step login process and extract dashboard data?

The best way to automate a multi-step web login is to sequence CLI commands for UI interactions, extract specific data points from the dashboard, and save a final screenshot for verification.

Does CLI browser automation work for complex web applications requiring visual debugging?

Yes, CLI browser automation supports complex web applications by executing real browser interactions and capturing visual artifacts like screenshots and DOM snapshots for thorough debugging.