playwright-mcp
Browser automation via Playwright MCP server. Navigate websites, click elements, fill forms, extract data, take screenshots, and perform full browser automation workflows.
Why use this skill?
Master web automation with the Playwright MCP skill. Navigate sites, extract data, and automate browser workflows with an AI agent. Install today.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/itsjustfred/playwright-mcp-1-0-0What This Skill Does
The Playwright MCP skill enables sophisticated browser automation for OpenClaw. By acting as a bridge to the Playwright automation library via the Model Context Protocol (MCP), it allows your AI agent to interact with the modern web just like a human user. Whether you need to navigate to complex Single Page Applications (SPAs), perform repetitive form-filling tasks, extract structured data from dynamic websites, or verify the layout and content of a web page, this skill provides the necessary programmatic hooks. It abstracts the browser engine (Chromium, Firefox, or WebKit) into a set of executable tools, allowing the agent to perform actions such as clicks, typing, navigation, and custom JavaScript execution directly in the DOM.
Installation
To begin, ensure you have Node.js installed. You can install the server globally using npm: npm install -g @playwright/mcp. Once installed, initialize the browser binaries by running npx playwright install chromium. If your environment requires specific security settings or custom viewports, you can launch the server manually using npx @playwright/mcp --headless or configure it via the CLI flags provided in the documentation to suit your specific security and performance requirements.
Use Cases
- Automated Data Harvesting: Scrape dynamic content that requires JavaScript execution where simple HTTP requests fail.
- Workflow Automation: Log into secure portals, navigate multi-step dashboards, and execute internal tasks autonomously.
- Quality Assurance: Verify UI elements, text content, and button responsiveness across different browsers and viewport sizes.
- Form Processing: Batch input data into legacy web forms or perform registration flows across multiple platforms.
Example Prompts
- "Navigate to https://example.com/login, fill in the username field with 'my_user', the password with 'secret123', and click the submit button. Once done, extract the dashboard title text."
- "Go to the company wiki, search for 'Q4 Project Plan', and return the list of items found in the main results table."
- "Open https://analytics.dashboard.com in a 1920x1080 viewport, wait for the chart to render, and take a snapshot of the current page structure to summarize the metrics."
Tips & Limitations
- Rate Limiting: Be mindful of robot detection mechanisms; consider using the
--user-agentflag to mimic real browser traffic. - Timeouts: If dealing with heavy JavaScript, increase the
--timeout-navigationvalue to avoid premature failures. - Headless Mode: Always use
--headlessin production environments to minimize resource consumption on your host machine. - Security: Use
--allowed-hoststo restrict which domains the agent can visit to prevent accidental interaction with malicious sites.
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-itsjustfred-playwright-mcp-1-0-0": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: network-access, data-collection, code-execution
Related Skills
n8n-workflow-automation
Designs and outputs n8n workflow JSON with robust triggers, idempotency, error handling, logging, retries, and human-in-the-loop review queues. Use when you need an auditable automation that won’t silently fail.
playwright-scraper-skill
Playwright-based web scraping OpenClaw Skill with anti-bot protection. Successfully tested on complex sites like Discuss.com.hk.
elite-longterm-memory
Ultimate AI agent memory system for Cursor, Claude, ChatGPT & Copilot. WAL protocol + vector search + git-notes + cloud backup. Never lose context again. Vibe-coding ready.
backtest-expert
Expert guidance for systematic backtesting of trading strategies. Use when developing, testing, stress-testing, or validating quantitative trading strategies. Covers "beating ideas to death" methodology, parameter robustness testing, slippage modeling, bias prevention, and interpreting backtest results. Applicable when user asks about backtesting, strategy validation, robustness testing, avoiding overfitting, or systematic trading development.
polymarket
Query Polymarket prediction markets - check odds, trending markets, search events, track prices and momentum. Includes watchlist alerts, resolution calendar, momentum scanner, and paper trading (simulated, no real money).