Playwright Commander
/install playwright-commander
Playwright Commander Skill
Description
This skill provides agents with a powerful interface to programmatically control web browsers using Playwright. It enables advanced UI automation, web content analysis, and debugging capabilities beyond what the default browser tool might offer directly.
Core Functionalities
- Launch and close browser instances.
- Navigate to specified URLs.
- Capture screenshots of web pages.
- Retrieve HTML content or readable text from pages.
- Execute custom JavaScript within the browser context.
- Interact with web elements (click, type, fill forms) using various selectors.
- Retrieve element attributes or text content.
Usage
This skill is designed for programmatic interaction via exec commands, typically orchestrated by an agent.
# Example: Launch browser and navigate
python3 scripts/playwright_cli.py launch_browser --browser chrome --headless true
# Example: Navigate to URL and take screenshot
python3 scripts/playwright_cli.py navigate --url "https://example.com" --screenshot "path/to/screenshot.png"
# Example: Get page content
python3 scripts/playwright_cli.py get_content --url "https://example.com" --type html
# Example: Click an element
python3 scripts/playwright_cli.py click_element --url "https://example.com" --selector "button.submit"
Prerequisites
- Playwright Python package (
playwright) installed in the skill's virtual environment. - Playwright browser binaries installed (
playwright install).
Configuration (config.json)
(To be defined if specific configuration beyond default Playwright options is needed.)
Purpose
To give me more granular and robust control over web browser interactions, enabling more complex UI automation, detailed web page analysis, and better troubleshooting capabilities for browser-related issues, especially for the Mac App conversion project.
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install playwright-commander - After installation, invoke the skill by name or use
/playwright-commander - Provide required inputs per the skill's parameter spec and get structured output
What is Playwright Commander?
A skill to interact with web browsers using Playwright for advanced UI automation, analysis, and debugging. It is an AI Agent Skill for Claude Code / OpenClaw, with 21630 downloads so far.
How do I install Playwright Commander?
Run "/install playwright-commander" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Playwright Commander free?
Yes, Playwright Commander is completely free (open-source). You can download, install and use it at no cost.
Which platforms does Playwright Commander support?
Playwright Commander is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Playwright Commander?
It is built and maintained by austindixson (@austindixson); the current version is v1.0.0.