playwright-skill
Complete browser automation with Playwright. Auto-detects dev servers, writes clean test scripts to /tmp. Test pages, fill forms, take screenshots, check responsive design, validate UX, test login flows, check links, automate any browser task. Use when user wants to test websites, automate browser interactions, validate web functionality, or perform any browser-based testing.
Author
Category
Development ToolsInstall
Hot:4
Download and extract to your skills directory
Copy command and send to OpenClaw for auto-install:
Download and install this skill https://openskills.cc/api/download?slug=sickn33-skills-playwright-skill&locale=en&source=copy
Playwright Skill - Browser Automation Testing Assistant
Skill Overview
Playwright Skill is a complete browser automation solution that can automatically detect your development server, generate test scripts, and execute various browser interaction tasks. It helps you quickly verify your website’s functionality and quality.
Use Cases
1. Local Development Testing
Quickly validate webpage functionality during development. The skill automatically detects your local development server (e.g., localhost:3000, localhost:3001), so you don’t need to manually configure URLs—you can test the pages you’re currently developing directly.
2. Website Functionality Verification
Automated testing of core website functionality flows, including user login, form submission, page navigation, and link validity checks, to ensure the site works as expected.
3. Multi-Device Responsive Testing
Automatically test your website across different viewport sizes—desktop, tablet, and mobile—and generate screenshots so you can verify that the responsive layout is correct.
Core Features
Automatic Server Detection
No need to manually enter a URL. The skill will automatically scan and detect the development server you are running. When multiple servers are available, it lets you choose a target to make testing more convenient.
Flexible Script Generation
Write customized Playwright automation scripts based on your needs. All test files are generated in the /tmp directory, so they won’t pollute your project directory. The system automatically cleans up temporary files.
Visual Browser Testing
By default, it runs in headed mode (headless: false), allowing you to see the browser actions in real time. This makes it easier to debug and confirm that your test logic is correct.
FAQ
Does Playwright Skill require pre-installation?
For the first use, you need to run an initialization command once to install Playwright and the Chromium browser. After that, you can use it directly without any extra configuration.
Can it test pages that require login?
Yes. The skill supports automated login flow testing, including entering username and password, clicking the login button, and validating redirects—covering the full login verification process.
Can the generated test scripts be reused?
The test scripts are stored in the /tmp directory and have a short lifecycle. If you need to keep a test script long-term, copy it into your project and manage it yourself.