Skip to content

Browser automation and E2E testing with Playwright that auto-detects dev servers and writes scripts to /tmp.

CCM score
53 of 100
install copies · 90 days. Times the install command was copied on this site in the last 90 days, bots filtered.
6
skills.sh installs
1.1K
GitHub stars
257
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers page testing, form filling, screenshots, responsive checks, login flows, and broken-link detection across browsers
  • Runs test scripts via run.js with a visible browser by default and URLs parameterized at the top of each script
  • Includes role-based selector and assertion guidance, plus commands like bunx playwright test --ui and --project=chromium
  • Designed for cross-browser, visual regression, API, and component testing in TypeScript, JavaScript, and Python projects

Install

$ npx -y skills add secondsky/claude-skills --skill playwright -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Playwright - Browser Automation & E2E Testing

Expert knowledge for browser automation and end-to-end testing with Playwright - a modern cross-browser testing framework.

IMPORTANT - Path Resolution: This skill can be installed in different locations. Before executing commands, determine the skill directory based on where you loaded this SKILL.md file, and use that path in all commands. Replace $SKILL_DIR with the actual discovered path.

Common installation paths:

  • Plugin system: ~/.claude/plugins/*/playwright/skills/playwright
  • Manual global: ~/.claude/skills/playwright
  • Project-specific: <project>/.claude/skills/playwright

CRITICAL WORKFLOW - Follow These Steps

When automating browser tasks:

  1. Auto-detect dev servers - For localhost testing, ALWAYS run server detection FIRST:
    cd $SKILL_DIR && node -e "require('./lib/helpers').detectDevServers().then(servers => console.log(JSON.stringify(servers)))"
    
    • 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

Details

Repository
github.com/secondsky/claude-skills
Categories
Testing & QA, Browser Automation & Scraping
First seen
Jun 3, 2026

More from secondsky/claude-skills

All 116

Similar to Playwright

More Testing & QA