playwright-skill

Automate browser testing and UI validation with Playwright scripts.

3|Updated Jan 25, 2026
One-click install
npx skills add https://github.com/dongitran/ai-agent-config --skill playwright-skill-dongitran
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: playwright-skill
Source: https://github.com/dongitran/ai-agent-config/tree/main/.agent/skills/playwright
Command: npx skills add https://github.com/dongitran/ai-agent-config --skill playwright-skill-dongitran

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides a universal Playwright-based automation workflow to write and execute browser tasks, test pages, and capture results, reducing manual debugging time.

Core Features & Use Cases

  • Auto-detects running dev servers to simplify localhost testing.
  • Writes automation scripts to /tmp and executes them via the universal executor.
  • Supports common browser actions: navigation, form filling, screenshots, and basic UI checks.

Quick Start

Install and set up the skill, then run tests: cd $SKILL_DIR && npm run setup Then detect servers and run a test via the executor: cd $SKILL_DIR && node run.js '/tmp/playwright-test-*.js' Results appear in real-time with visible browser windows for debugging.

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

Playwright automation can test your local dev server by auto-detecting running localhost instances, writing temporary scripts to /tmp, and executing them via run.js to validate pages in real-time.

What is the best way to run Playwright UI validation scripts without a permanent test suite?

You can run UI validation by writing temporary automation scripts and executing them through a universal run.js executor, which launches visible browser windows for immediate debugging and captures results instantly.

Can I use Playwright to fill out forms and capture screenshots during QA testing?

Playwright supports common browser actions for QA testing including page navigation, form filling, capturing screenshots, and performing basic UI checks across both local dev servers and remote sites.

Does this browser testing automation support custom environment headers?

Yes, the browser testing executor supports optional environment headers, allowing you to inject custom configurations when running automated UI validation tasks against local or remote web pages.

Why write automation scripts to /tmp for web testing instead of a project directory?

Writing scripts to /tmp provides a universal, isolated workspace for temporary automation tasks, reducing manual debugging time and preventing test clutter in your main web development project directories.