playwright-skill

Generates and executes Playwright scripts to automate browser tasks on local servers.

Updated Apr 3, 2026
One-click install
npx skills add https://github.com/Mercurykz/Barretao- --skill playwright-skill-mercurykz
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: playwright-skill
Source: https://github.com/Mercurykz/Barretao-/tree/main/.cursor/skills/playwright-skill
Command: npx skills add https://github.com/Mercurykz/Barretao- --skill playwright-skill-mercurykz

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

The Playwright Skill solves the need to automate repetitive browser tasks such as navigation, form filling, screenshot capture, and UI checks by generating executable Playwright code that can run against discovered dev servers or provided URLs.

Core Features & Use Cases

  • Generates custom Playwright scripts on demand for tasks like login flows, form submissions, links validation, and responsive checks.
  • Auto-detects running local servers to avoid hard-coded URLs and writes execution scripts to /tmp for cleanup.
  • Executes the generated scripts via the universal executor, enabling visible debugging with headful browser and robust error handling.

Quick Start

Describe your browser task and I will auto-detect dev servers, write a Playwright script to /tmp, and execute it with the universal executor.

Frequently Asked Questions about playwright-skill

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

FAQPage Schema
How do I automate browser testing against my local dev server?

To automate browser testing, this Skill auto-detects running local dev servers, generates a custom Playwright script, and executes it via a universal executor with visible browser debugging and error handling.

Can I use Playwright for form submission and UI validation tasks?

Yes, you can use Playwright for form submission and UI validation. The Skill generates executable scripts on demand to handle login flows, form filling, and responsive UI checks.

Do I need to provide a specific URL to run cross-browser workflows?

You do not need to hard-code a specific URL to run cross-browser workflows. The Skill auto-detects running local servers, though you can also target provided URLs directly for QA testing.

What is the best way to debug Playwright automation scripts?

The best way to debug Playwright automation scripts is by executing them via the universal executor, which enables headful visible browser debugging and robust error handling during the run.

Why does the generated browser automation script get written to /tmp?

Browser automation scripts are written to the /tmp directory for automated cleanup. This ensures temporary execution scripts do not clutter your workspace after the Playwright task completes.