playwright

Automate browser interactions via Playwright CLI for testing and data extraction.

167|34|Updated Jan 3, 2026
One-click install
npx skills add https://github.com/tercumantanumut/selene --skill playwright-tercumantanumut
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: playwright
Source: https://github.com/tercumantanumut/selene/tree/main/lib/skills/catalog/bundled/playwright
Command: npx skills add https://github.com/tercumantanumut/selene --skill playwright-tercumantanumut

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Automating browser interactions from the command line for testing, data extraction, and UI automation.

Core Features & Use Cases

  • CLI-driven browser automation: Drive a real browser from the terminal using the Playwright CLI or a wrapper script.
  • Form interaction & navigation: Open pages, click, type, and fill forms with snapshots to stabilize selectors.
  • Artifact capture: Save screenshots, PDFs, and traces for debugging and reporting.

Quick Start

Open https://example.com with the wrapper script and take a snapshot to verify the setup.

Frequently Asked Questions about playwright

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

FAQPage Schema
How do I automate browser interactions from the command line for testing?

Automate browser interactions from the command line by using a wrapper script to invoke the Playwright CLI with npx. It drives a real browser to navigate pages, fill forms, and take snapshots for UI testing and data extraction.

Can I capture screenshots and PDFs during terminal-based browser automation?

Yes, terminal-based browser automation supports artifact capture, allowing you to save screenshots, PDFs, and traces. These artifacts are useful for debugging automated workflows and reporting on UI interactions.

Do I need Node.js and npm to run Playwright CLI automation scripts?

Yes, you need Node.js and npm installed to run Playwright CLI automation scripts. The wrapper script uses npx to invoke the @playwright/cli package, which drives the browser automation tasks from your terminal.

What browser automation actions are supported by the Playwright CLI wrapper?

The Playwright CLI wrapper supports browser automation actions including open, click, type, and screenshot. It enables you to navigate pages, fill forms, and capture snapshots in both headless and headed modes.

When should I use snapshots during CLI browser automation workflows?

Use snapshots during CLI browser automation workflows to stabilize selectors when navigating pages and filling forms. This ensures your automation scripts interact with the correct elements during testing and data extraction.