Install
openclaw skills install playwright-mcp-skillRun browser automation through @playwright/mcp over UXC stdio MCP, with daemon-friendly session reuse and safe action guardrails. Use when tasks need deterministic page navigation, DOM snapshots, and scripted browser interaction from CLI.
openclaw skills install playwright-mcp-skillUse this skill to run Playwright MCP operations through uxc using fixed stdio endpoints.
Reuse the uxc skill for generic protocol discovery, auth/error handling, and envelope parsing rules.
uxc is installed and available in PATH.npx is available in PATH (Node.js installed).@playwright/mcp package fetch.Endpoint candidate inputs before finalizing:
npx @playwright/mcp@latestnpx -y @playwright/mcp@latestnpx -y @playwright/mcp@latest --headless --isolatednpx -y @playwright/mcp@latest --headless --user-data-dir ~/.uxc/playwright-profilenpx -y @playwright/mcp@latest --user-data-dir ~/.uxc/playwright-profilehttps://github.com/microsoft/playwright-mcpuxc "npx -y @playwright/mcp@latest --headless --isolated" -hprotocol == "mcp" in envelope).@playwright/mcp default flow is no OAuth/API key for local stdio use.command -v playwright-mcp-cliuxc link playwright-mcp-cli "npx -y @playwright/mcp@latest --headless --isolated"command -v playwright-mcp-headlesscommand -v playwright-mcp-uiuxc link --daemon-exclusive ~/.uxc/playwright-profile playwright-mcp-headless "npx -y @playwright/mcp@latest --headless --user-data-dir ~/.uxc/playwright-profile"uxc link --daemon-exclusive ~/.uxc/playwright-profile playwright-mcp-ui "npx -y @playwright/mcp@latest --user-data-dir ~/.uxc/playwright-profile"playwright-mcp-cli -hplaywright-mcp-cli browser_navigate -hplaywright-mcp-cli browser_snapshot -hplaywright-mcp-cli browser_click -h--text.ok, kind, protocol, data, error.playwright-mcp-cli as default command path.playwright-mcp-cli <operation> ... is equivalent to uxc "npx -y @playwright/mcp@latest --headless --isolated" <operation> ....uxc "<endpoint>" ... only as temporary fallback when link setup is unavailable.--isolated in endpoint and retry via the same fixed link command.--user-data-dir, run headless/headed links serially (not concurrently).UXC_DAEMON_EXCLUSIVE=~/.uxc/playwright-profile for ad-hoc runs.uxc daemon stopbrowser_snapshot over screenshots for model-action loops.references/usage-patterns.md