playwright-skill

Automate browser interactions and testing workflows for web applications.

3|1|Updated Jun 14, 2021
One-click install
npx skills add https://github.com/xdanger/dotfiles --skill playwright-skill-xdanger
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: playwright-skill
Source: https://github.com/xdanger/dotfiles/tree/main/agents/skills/playwright-skill
Command: npx skills add https://github.com/xdanger/dotfiles --skill playwright-skill-xdanger

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automate repetitive browser tasks and web-application testing to reduce manual effort and speed up QA cycles.

Core Features & Use Cases

  • Auto-detect local dev servers and generate Playwright automation that runs against them, writing scripts to /tmp to keep your project clean.
  • Execute robust browser tasks: navigate pages, fill forms, take screenshots, validate UX, and test login flows across multiple viewports.
  • Reuse utilities and patterns (header injection, safe interactions, smart waits, and optional network interception) to create reliable end-to-end tests in any project.

Quick Start

Detect servers, generate a test in /tmp, and run it with the skill runner to see results.

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?

Browser testing against a local dev server is automated by auto-detecting the running environment, generating a temporary Playwright script under /tmp, and executing it to validate page interactions without cluttering your project.

Can I validate login flows and form interactions using Playwright automation?

Login flows and form interactions are validated using robust Playwright automation utilities that handle safe inputs, smart waits, and header injection to ensure reliable end-to-end test execution across different viewports.

What is the best way to run headful browser automation for visual checks?

Headful browser automation for visual checks is executed by generating Playwright scripts in a temporary directory, allowing you to watch the browser interactions and capture screenshots to validate the user experience directly.

Does web automation work with custom HTTP headers and network interception?

Web automation supports optional custom HTTP headers and network interception, injecting them during browser interactions to test authenticated environments and validate complex application behaviors reliably.

How do I generate end-to-end tests without adding files to my project?

End-to-end tests are generated in the /tmp directory using reusable automation patterns and helper utilities, keeping your project clean while creating reliable test workflows for any web application.