playwright-skill

Automate Playwright browser tasks with auto-detected dev servers and scripts in /tmp.

1|Updated Jan 30, 2021
One-click install
npx skills add https://github.com/fideguch/my_dotfiles --skill playwright-skill-fideguch
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: playwright-skill
Source: https://github.com/fideguch/my_dotfiles/tree/main/claude/skills/playwright-skill
Command: npx skills add https://github.com/fideguch/my_dotfiles --skill playwright-skill-fideguch

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automates browser testing and routine Playwright tasks by auto-detecting running dev servers, generating test scripts in /tmp, and executing them with a visible browser for easier debugging.

Core Features & Use Cases

  • Auto-detects local dev servers and selects an appropriate URL for testing.
  • Writes test scripts to /tmp/playwright-test-*.js to keep your project clean.
  • Executes scripts with a universal executor, showing real-time output and screenshots.
  • Supports common automation tasks like login flows, form submissions, and responsive testing.

Quick Start

Describe the browser task you want automated, and I will detect dev servers, generate a Playwright script in /tmp, and run it from the skill directory.

Frequently Asked Questions about playwright-skill

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

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

To automate Playwright browser tests, this skill auto-detects your running local dev servers, selects the correct URL, and executes your described test scenarios using a visible browser for real-time output and debugging.

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

Yes, you need Node.js and Playwright installed to run browser automation scripts. The skill generates test scripts in a temporary directory and executes them using a universal executor from the skill directory.

Can I automate login flows and form submissions with Playwright without writing scripts manually?

Yes, you can automate login flows and form submissions by describing the browser task. The skill generates the necessary Playwright script, executes it, and presents real-time output alongside screenshots.

How does automated browser testing keep my project directory clean?

Automated browser testing keeps your project clean by writing generated Playwright scripts to a temporary /tmp directory rather than your local project files, executing them safely from the skill directory.

Does responsive testing with Playwright provide visual output for debugging?

Yes, responsive testing with Playwright provides visual output for debugging by running scripts in a visible browser and returning screenshots, allowing you to verify layout behavior across different scenarios.