Agent skill · software engineering · aiskillstore

playwright-skill

Complete browser automation with Playwright. Auto-detects dev servers, writes clean test scripts to /tmp. Test pages, fill forms, take screenshots, check responsive design, validate UX, test login flows, check links, automate any browser task. Use when user wants to test websites, automate browser interactions, validate web functionality, or perform any browser-based testing.

Why this skill is useful

Adds custom Playwright scripts for browser automation tasks that the AI wouldn't generate on its own.

What it needs

Requires chromium, playwright installed locally. About 7k tokens when loaded. Last updated 2026-08-07. 405 stars on the source repository.

What this skill does

IMPORTANT - Path Resolution: This skill can be installed in different locations (plugin system, manual installation, global, or project-specific). Before executing any commands, determine the skill directory based on where you loaded this SKILL.md file, and use that path in all commands below. Replace $SKILLDIR with the actual discovered path. Common installation paths: Plugin system: ~/.claude/plugins/marketplaces/playwright-skill/skills/playwright-skill Manual global: ~/.claude/skills/playwright-skill Project-specific: <project>/.claude/skills/playwright-skill Playwright Browser Automation General-purpose browser automation skill. I'll write custom Playwright code for any automation task you request and execute it via the universal executor. CRITICAL WORKFLOW - Follow these steps in order: 1. Auto-detect dev servers - For localhost testing, ALWAYS run server detection FIRST: If 1 server found: Use it automatically, inform user If multiple servers found: Ask user which one to test If no servers found: Ask for URL or offer to help start dev server 2. Write scripts to /tmp - NEVER write test files to skill directory; always use /tmp/playwright-test-.js 3. Use visible browser by default - Always use headless: false unless user specifically requests headless mode 4. Parameterize URLs - Always make URLs configurable via environment variable or constant at top of script How It Works 1. You describe what you want to test/automate 2. I auto-detect running dev servers (or ask for URL if testing external site) 3. I write custom Playwright code in /tmp/playwright-test-.js (won't clutter your project) 4. I execute it via: cd $SKILLDIR && node run.js /tmp/playwright-test-.js 5. Results displayed in real-time, browser window visible for debugging 6. Test files auto-cleaned from /tmp by your OS Setup (First Time) This installs Playwright and Chromium browser. Only needed once. …

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills aiskillstore/playwright-skill

View the source on GitHub

Browse the @skills marketplace