playwright-skill

playwright-skill

Claude uses Playwright for browser automation testing and validation.

Agent SkillDevOpen source
Type
Agent Skill
Open source
Yes
GitHub Stars
★ 2.8k
Source
skill-github

Overview

Playwright Skill is a Claude Code skill that enables Claude to autonomously write and execute Playwright automation scripts for testing and validation. The skill supports any automation task, from simple page tests to complex multi-step workflows. By default, the browser is visible, allowing real-time monitoring of the automation process. After installation, simply describe your requirements to Claude, and it will generate and run the corresponding Playwright code, returning results and screenshots.

Capabilities

  • Auto-generate Playwright code
  • Support arbitrary automation tasks
  • Default visible browser
  • No module resolution errors
  • Intelligent temporary file management
  • Provide common task helper functions

Use cases

Test webpage loadingValidate form functionalityResponsive design testingInteraction testing

Setup

Requires: Node 环境API Key
Recommended installation via Claude Code's plugin system: "\plugin marketplace add lackeyjb/playwright-skill" and "/plugin install playwright-skill@playwright-skill". Alternatively, manual installation: clone the repository, extract the skills/playwright-skill folder to ~/.claude/skills/, and run npm run setup.

This information was compiled by AI from public sources and may contain inaccuracies — please refer to the source.

FAQ

How can I verify the installation was successful?

Run the /help command to confirm the skill is loaded, then ask Claude to perform a simple browser task.

What are the default settings?

The default configuration includes non-headless mode, slow motion at 100ms, timeout of 30s, and screenshot save path set to /tmp/.

Related skills