playwright-skill  by lackeyjb

Agentic browser automation with Playwright

Created 4 months ago
1,780 stars

Top 23.7% on SourcePulse

GitHubView on GitHub
Project Summary

Summary

This project provides a Claude Code Skill enabling autonomous browser automation via Playwright. It empowers Claude to generate and execute custom scripts for testing, validation, and complex multi-step flows on-the-fly, offering a powerful, model-driven approach to browser interaction for users.

How It Works

Claude interprets user requests for browser automation and autonomously crafts bespoke Playwright code. A universal executor (run.js) ensures correct module resolution, and automation typically runs with a visible browser (headless: false) for real-time feedback. Results are presented with console logs and screenshots.

Quick Start & Requirements

  • Primary install / run command: Recommended installation via Claude Code plugin system (/plugin add lackeyjb/playwright-skill, /plugin install playwright-skill@playwright-skill, then npm run setup within the skill directory). Manual installation via git clone or release download is also supported.
  • Non-default prerequisites and dependencies: Node.js >= 14.0.0. Playwright and Chromium are installed via the npm run setup command.
  • Estimated setup time or resource footprint: Running npm run setup installs dependencies and the Chromium browser.
  • Links: Relevant documentation includes SKILL.md (concise), API_REFERENCE.md (full Playwright API reference), and general information on Claude Skills and Plugins.

Highlighted Details

  • Enables Claude to write custom Playwright code for any automation task.
  • Browser is visible by default (headless: false) for real-time observation.
  • Universal executor (run.js) prevents module resolution errors.
  • Progressive disclosure of documentation via SKILL.md and full API reference (API_REFERENCE.md).
  • Includes optional utility functions for common tasks.

Maintenance & Community

Contributions are welcomed via pull requests, with guidelines provided in CONTRIBUTING.md. No specific community channels (e.g., Discord, Slack) or sponsor mentions are detailed in the provided README.

Licensing & Compatibility

The project is released under the MIT License, which is generally permissive for commercial use and integration into closed-source projects.

Limitations & Caveats

The skill operates within the Claude AI ecosystem. Troubleshooting may involve ensuring correct installation via npm run setup and execution through run.js. Default configuration includes a 30s timeout and headless: false.

Health Check
Last Commit

2 months ago

Responsiveness

Inactive

Pull Requests (30d)
1
Issues (30d)
1
Star History
324 stars in the last 30 days

Explore Similar Projects

Starred by Chip Huyen Chip Huyen(Author of "AI Engineering", "Designing Machine Learning Systems"), Abubakar Abid Abubakar Abid(Cofounder of Gradio), and
3 more.

owl by camel-ai

0.2%
19k
Multi-agent framework for real-world task automation
Created 11 months ago
Updated 1 day ago
Feedback? Help us improve.