An AI-driven code generation engine that transforms natural language, HTML, or live URLs into production-ready Playwright test suites.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install playwright-test-generator
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install playwright-test-generator using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
The Playwright Test Generator is a sophisticated AI agent skill designed for modern QA engineers and developers who need to accelerate their automation workflows. By leveraging advanced natural language processing and HTML analysis, this entry in the Openclaw Skills ecosystem can automatically construct complex Page Object Models (POM), standard test scripts, and parameterized data-driven tests.
Whether you are starting from a plain English description of a user journey or analyzing a complex live web application via its URL, this skill ensures robust selector extraction and framework-specific code generation. It supports major ecosystems including Python (pytest-playwright) and JavaScript/TypeScript (Jest and Native Playwright), ensuring that the generated code fits seamlessly into your existing CI/CD pipelines.
To integrate this capability into your workflow, ensure you have the Openclaw Skills environment configured. You can use the CLI to generate tests immediately:
# Install the playwright-test-generator skill
openclaw install playwright-test-generator
# Generate a standard test from a natural language prompt
playwright-test-generator generate --input "Login to the app" --framework pytest
The skill organizes its output and internal logic based on a structured metadata taxonomy to ensure compatibility across different Openclaw Skills.
| Component | Format | Description |
|---|---|---|
| Test Steps | JSON | Defines actions (click, fill), targets, and values. |
| Locators | JSON/Dictionary | A map of element names to prioritized selectors (data-testid, role, etc.). |
| Templates | EJS | Framework-specific templates for rendering Python or TypeScript code. |
| Metadata | YAML | Contains skill definitions, framework support, and versioning information. |
Loading
A sophisticated cognitive model that simulates the strategic decision-making and long-term vision of William Li, founder of NIO.

A sophisticated AI persona skill that simulates the strategic mindset, product philosophy, and decision-making logic of Tencent founder Ma Huateng.

An advanced AI cognitive model simulating the strategic leadership and enterprise management frameworks of legendary CEO Ning Gaoning.

A professional-grade copywriting engine for AI agents that utilizes proven marketing frameworks and psychological triggers to produce high-converting content.

A strategic mental operating system for AI agents based on the product-first and efficiency-driven philosophy of Li Auto founder Li Xiang.

A high-performance Rust-based headless browser CLI designed to empower AI agents with seamless web navigation and interaction capabilities.








































