playwright-skill

Generates and runs Playwright scripts with automatic local server detection.

8|2|Updated Jul 13, 2015
One-click install
npx skills add https://github.com/tstapler/dotfiles --skill playwright-skill-tstapler
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: playwright-skill
Source: https://github.com/tstapler/dotfiles/tree/main/.claude/skills/playwright-skill
Command: npx skills add https://github.com/tstapler/dotfiles --skill playwright-skill-tstapler

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automates browser testing and repetitive web-automation tasks by generating and executing Playwright scripts, with auto-detection of running dev servers to minimize hard-coded URLs.

Core Features & Use Cases

  • Auto-detect dev servers: Locate running local servers and target them without manual URL configuration.
  • Portable test generation: Create Playwright scripts in /tmp and run them through a universal executor to keep project directories clean.
  • Flexible execution patterns: Accepts file-based scripts or inline code, wraps execution in a safe async runner, and provides helpful debugging output.

Quick Start

Provide a brief test goal and I will generate and run a Playwright script against the detected dev server.

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 a local dev server?▼

This Skill automates browser testing by generating and executing Playwright scripts from a temporary directory, automatically detecting running local dev servers to target them without manual URL configuration.

Can I run inline Playwright scripts without cluttering my project directory?▼

Yes, you can execute inline Playwright scripts without cluttering project directories. The Skill generates files in /tmp and executes them through a universal runner with automatic temp-file cleanup.

How does dev-server detection work for web testing automation?▼

Dev-server detection for web testing automation works by automatically locating running local servers in your environment and injecting environment-aware headers, allowing generated Playwright scripts to target localhost or external sites without hard-coded URLs.

Does Playwright automation support cross-environment web testing?▼

Yes, Playwright automation supports cross-environment web testing. It provides a robust execution wrapper with helper-based context setup, enabling rapid browser task verification across localhost, local dev servers, and external sites.

What is the best way to generate QA automation scripts for rapid verification?▼

The best way to generate QA automation scripts for rapid verification is to provide a brief test goal. The Skill then generates a Playwright script, applies environment-aware header injection, and runs it against the detected server with safe async execution.