playwright-skill

Automate browser interactions with Playwright for web testing and screenshots.

5.0k|454|Updated Jan 19, 2026
One-click install
npx skills add https://github.com/tech-leads-club/agent-skills --skill playwright-skill-tech-leads-club
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: playwright-skill
Source: https://github.com/tech-leads-club/agent-skills/tree/main/packages/skills-catalog/skills/%28web-automation%29/playwright-skill
Command: npx skills add https://github.com/tech-leads-club/agent-skills --skill playwright-skill-tech-leads-club

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill automates repetitive browser tasks and testing workflows, eliminating manual, error-prone interactions with web pages.

Core Features & Use Cases

  • Playwright-based automation for web testing, form interactions, and screenshot capture.
  • Auto-detects running dev servers, executes tests against local or remote URLs, and writes temporary scripts to /tmp to keep projects clean.
  • Use cases include validating login flows, cross-device responsiveness, and end-to-end page interactions.

Quick Start

To begin, ensure Node.js and Playwright are installed, then run a generated script with the universal executor. Example: cd $SKILL_DIR && node run.js /tmp/playwright-test.js

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

Playwright automation detects running dev servers automatically, executing generated test scripts against local or remote URLs while writing temporary files to /tmp to keep your project directory clean.

Can I use Playwright to take screenshots and validate responsive designs?

Yes, Playwright generates and executes scripts to capture screenshots and verify cross-device layout consistency across multiple viewports.

Do I need Node.js installed to run web testing automation scripts?

Yes, Node.js and Playwright are required. The Skill uses a universal run.js wrapper to execute generated test files with a deterministic workflow.

What is the best way to validate login flows and end-to-end page interactions?

Using Playwright-based automation to generate and execute test scripts streamlines form interactions, login flow validation, and repetitive web testing tasks.

Does web testing automation write temporary files to my project directory?

No, temporary test scripts are written to the /tmp directory, keeping your project folder clean and preventing test artifacts from cluttering your codebase.

Why does my Playwright test script need a universal run.js wrapper?

The run.js wrapper enforces a deterministic workflow for running Playwright scripts, ensuring consistent execution and auto-detecting dev servers before running browser interactions.