Playwright Browser Automation

Automate Playwright browser testing with scripts written to /tmp.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/d-oit/do-novelist-ai --skill playwright-browser-automation-d-oit
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Playwright Browser Automation
Source: https://github.com/d-oit/do-novelist-ai/tree/main/.claude/skills/playwright-skill
Command: npx skills add https://github.com/d-oit/do-novelist-ai --skill playwright-browser-automation-d-oit

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires playwright.

What problem does it solve?

This skill enables dynamic browser automation by generating Playwright scripts, auto-detecting running dev servers, and executing tasks from /tmp to keep your project clean.

Core Features & Use Cases

  • Auto-detect dev servers: locate running local servers to target test pages.
  • Write scripts to /tmp: produce test scripts in /tmp to avoid cluttering your project.
  • Live execution & reporting: run scripts via the universal executor and observe results in real time.

Quick Start

  1. Install and set up the skill: npm run setup
  2. Detect dev servers and generate a test script to /tmp/playwright-test-*.js
  3. Run: cd $SKILL_DIR && node run.js /tmp/playwright-test-*.js

Frequently Asked Questions about Playwright Browser Automation

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate browser testing with Playwright?

Playwright browser automation generates test scripts that interact with web pages—filling forms, clicking elements, taking screenshots, and validating UX. This skill auto-detects running dev servers, writes scripts to /tmp, and executes them via a universal runner to keep your project clean while testing locally or externally hosted sites.

Can I use Playwright to test login flows and verify responsive design?

Yes. Playwright scripts can test complete login flows, check links across pages, and validate responsive design by automating interactions and capturing screenshots. This skill generates those scripts automatically and runs them with visible browser UI so you observe results in real time.

How do I set up end-to-end testing without cluttering my project?

This skill writes Playwright test scripts directly to /tmp, keeping your project directory clean. After auto-detecting your local dev server, it generates and executes test scripts via a universal executor, then cleans up temporary artifacts automatically.

What's the fastest way to generate and run Playwright test scripts?

The skill detects running dev servers automatically, generates parameterized Playwright scripts using environment variables for URLs, and executes them immediately via run.js. This eliminates manual server detection and script setup, reducing iteration time for browser automation tasks.

Do I need to manually launch browsers when automating with Playwright?

No. This skill launches browsers with visible UI by default so you can observe automation in real time without manual setup. The generated scripts handle browser lifecycle, interactions, and cleanup automatically.