OpenClaw Install

Playwright Automation

The Playwright Automation skill gives your AI agent full browser automation capability using Microsoft Playwright, supporting Chromium, Firefox, and WebKit. Use it to run end-to-end tests by describing user flows in natural language — the agent generates and executes Playwright test scripts, reports pass/fail outcomes, and captures screenshots and video recordings on failure. The codegen recording mode watches your browser interactions and generates reusable Playwright scripts automatically. Automation beyond testing includes form filling, data extraction from JavaScript-heavy pages, UI regression screenshots, and PDF generation from web pages. Network interception allows mocking API responses during test runs to isolate front-end behavior. The skill handles authentication — cookies, session tokens, and MFA flows — for testing protected areas of applications. Test results are formatted as JUnit XML or HTML reports compatible with CI systems. Parallel test execution across multiple browser instances reduces total run time for large test suites. Integrates with the CI/CD and GitHub skills to run tests automatically on pull request creation.

Installation

bash
clawhub install playwright-skill
PlaywrighttestingautomationE2E

Install: clawhub install playwright-skill

We'll configure this skill for you

We'll install Playwright Automation and connect it to your OpenClaw

Get Started