playwright-testing
Test web applications and games using Playwright on MiniPC. Use when verifying frontend functionality, debugging UI behavior, capturing screenshots, or QA testing games. Supports headless browser automation via nodes.run or browser.proxy.
Why use this skill?
Automate web and game testing on MiniPC using Playwright. Perform headless browser interactions, visual QA, and DOM inspections with OpenClaw agents.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/kjaylee/playwright-testingWhat This Skill Does
The playwright-testing skill provides a robust framework for automating web and game testing directly on MiniPC environments within the OpenClaw ecosystem. By leveraging the Chromium headless browser, it allows AI agents to interact with web applications programmatically. This skill is engineered to support the full testing lifecycle, including page navigation, DOM inspection, element interaction (clicking, typing), and visual validation through screenshots. It is optimized for the 'Reconnaissance-Then-Action' pattern, ensuring that agents first assess the state of a web page—ensuring network idle states—before executing complex test sequences. This makes it an essential tool for verifying frontend UI integrity and performing automated game QA without the need for a physical monitor or local GUI.
Installation
To integrate this skill into your OpenClaw environment, execute the following command in your terminal:
clawhub install openclaw/skills/skills/kjaylee/playwright-testing
Ensure that your MiniPC node is correctly configured and reachable via your OpenClaw network settings, as this skill relies on headless browser execution on remote edge hardware.
Use Cases
- Automated Game QA: Perform repeatable interaction tests on web-based games, such as clicking canvas elements and validating score updates in the DOM.
- UI Regression Testing: Capture full-page screenshots to compare visual layouts across different application states or deployments.
- Dynamic Web App Verification: Debug client-side behaviors by capturing console logs and monitoring network activity during user flows.
- Headless Functional Testing: Validate button availability, form submissions, and data rendering for internal dashboards and static sites.
Example Prompts
- "MiniPC, please navigate to the local game URL at port 9877, wait for the page to load, click the 'Start' button, and capture a screenshot of the resulting screen."
- "Run the Playwright test suite located in /home/scripts/smoke_test.py on the MiniPC and report back any console errors caught during the process."
- "Verify if the 'Submit' button is visible on the web application running at localhost:8080 by performing a DOM inspection via Playwright."
Tips & Limitations
- Always wait for networkidle: Never skip
page.wait_for_load_state('networkidle'). Dynamic web apps require the JavaScript environment to stabilize before DOM elements become reliably accessible. - Headless Requirements: Since MiniPC lacks a physical display, always ensure your Playwright scripts are configured with
headless=Trueto prevent execution errors. - Security Context: This skill involves executing arbitrary scripts on MiniPC nodes; ensure that only authorized scripts are run to prevent unauthorized file system access.
- Performance: For heavy testing suites, monitor resource usage on your MiniPC, as headless Chromium instances can consume significant CPU and memory if multiple tests run concurrently.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-kjaylee-playwright-testing": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: network-access, file-write, file-read, code-execution
Related Skills
ui-ux-pro-max
UI/UX design intelligence and implementation guidance for building polished interfaces. Use when the user asks for UI design, UX flows, information architecture, visual style direction, design systems/tokens, component specs, copy/microcopy, accessibility, or to generate/critique/refine frontend UI (HTML/CSS/JS, React, Next.js, Vue, Svelte, Tailwind). Includes workflows for (1) generating new UI layouts and styling, (2) improving existing UI/UX, (3) producing design-system tokens and component guidelines, and (4) turning UX recommendations into concrete code changes.
ralph-loop
AI 자율 구현 방법론. 구현/개발/코딩 요청 시 자동 적용. 메인은 마더 서브에이전트를 spawn하고, 마더가 워커들을 관리. specs/ → IMPLEMENTATION_PLAN.md → 1태스크씩 구현 → 2단계 리뷰 → 테스트 → 반복.
game-dev-rust-godot
Game development workflow using Rust+WASM or Godot 4.x for HTML5 games. Use when creating new games, implementing game mechanics, or porting existing games. Follows TDD-based production pipeline v3.1 with asset-first approach. Covers Rust(Macroquad/Bevy), Godot HTML5 Export, asset acquisition, test case writing, and QA automation. Master directive (2026-02-06) - ONLY Rust+WASM or Godot allowed, JS/TS frameworks prohibited.
subagent-dev
Execute implementation plans using fresh subagents per task with two-stage review (spec compliance + code quality). Use when executing multi-task plans with independent work units. Enhances ralph-loop methodology.
systematic-debugging
Root-cause-first debugging methodology. Use when encountering any bug, test failure, or unexpected behavior BEFORE proposing fixes. Prevents random fix attempts that waste time and create new bugs.