playwright-cli
Browser automation via Playwright CLI. Open pages, interact with elements, take screenshots, and more. Ideal for coding agents and automated testing workflows.
Why use this skill?
Master web automation with the OpenClaw Playwright CLI skill. Easily open pages, interact with elements, take screenshots, and debug web apps via AI.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/gumadeiras/playwright-cliWhat This Skill Does
The playwright-cli skill provides a robust, token-efficient interface for browser automation directly within your OpenClaw environment. By leveraging the industry-standard Playwright library, this tool allows your AI agent to interact with the modern web as a user would. It supports comprehensive page navigation, complex element interaction, and debugging capabilities. Whether you are performing automated testing, scraping data, or conducting interactive web-based tasks, this skill translates natural language instructions into precise browser actions, effectively turning your agent into a browser-based power user.
Installation
To integrate this skill into your environment, use the OpenClaw hub command:
clawhub install openclaw/skills/skills/gumadeiras/playwright-cli
Additionally, ensure the underlying Playwright dependency is available via npm:
npm install -g @playwright/mcp@latest
Use Cases
This skill is designed for high-precision web interaction tasks, including:
- Automated Software Testing: Streamline QA workflows by scripting user flows that verify application state and UI stability.
- Web Research & Data Collection: Navigate through complex web applications, extract snapshot information, or save pages as PDFs for documentation.
- Agent-Assisted Web Browsing: Delegate repetitive tasks such as filling out forms, handling dropdowns, or navigating multi-step web processes to the AI.
- Debugging & Monitoring: Utilize console logs, network request interception, and full tracing to identify issues in web-based projects.
Example Prompts
- "Open https://github.com/login, fill in my username and password, and click the sign-in button."
- "Go to the documentation page, take a screenshot of the main content area, and save it as a PDF."
- "Navigate to the news portal, scroll down to the bottom, and list all network requests that failed."
Tips & Limitations
- Session Management: Use the
--sessionflag to maintain state across different interactions, which is essential for authenticated web sessions. - Headed Mode: Use
--headedduring development to observe the browser's actions in real-time, aiding in debugging complex selectors. - Selectors: The tool relies on snapshots and element references; if a page is highly dynamic, ensure you call
playwright-cli snapshotfrequently to refresh the agent's internal DOM awareness. - Security: Be mindful that this tool executes commands in a browser; only use this on trusted URLs to avoid malicious content execution.
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-gumadeiras-playwright-cli": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: network-access, code-execution
Related Skills
little-snitch
Control Little Snitch firewall on macOS. View logs, manage profiles and rule groups, monitor network traffic. Use when the user wants to check firewall activity, enable/disable profiles or blocklists, or troubleshoot network connections.
apple-mail-search
Apple Mail search on macOS with fast metadata and full body lookup. Use for finding messages in Mail.app by subject/sender/recipient/date, opening messages, and reading full body text.
lastfm
Access Last.fm listening history, music stats, and discovery. Query recent tracks, top artists/albums/tracks, loved tracks, similar artists, and global charts.
calcurse
A text-based calendar and scheduling application. Use strictly for CLI-based calendar management.
gotrain
MTA system train departures (NYC Subway, LIRR, Metro-North). Use when the user wants train times, schedules, or service alerts for MTA transit. Covers MTA Subway, LIRR, and Metro-North across the greater New York area.