This skill should be used for browser automation tasks using Chrome DevTools Protocol (CDP). Triggers when users need to launch Chrome with remote debugging, navigate pages, execute JavaScript in browser context, capture screenshots, or interactively select DOM elements. No MCP server required.
Minimal Chrome DevTools Protocol (CDP) helpers for browser automation without MCP server setup.
Install dependencies before first use:
npm install --prefix ~/.claude/skills/browser/browser ws
All scripts connect to Chrome on localhost:9222.
scripts/start.js # Fresh profile
scripts/start.js --profile # Use persistent profile (keeps cookies/auth)
scripts/nav.js https://example.com # Navigate current tab
scripts/nav.js https://example.com --new # Open in new tab
scripts/eval.js 'document.title'
scripts/eval.js '(() => { const x = 1; return x + 1; })()'
Use single expressions or IIFE for multiple statements.
scripts/screenshot.js
Returns { path, filename } of saved PNG in temp directory.
scripts/pick.js "Click the submit button"
Returns element metadata: tag, id, classes, text, href, selector, rect.
scripts/start.js --profile for authenticated sessionsscripts/nav.js <url>scripts/eval.js 'document.querySelector(...)'scripts/screenshot.js or scripts/pick.js--profile flag to preserve cookies and auth tokensNotion API for creating and managing pages, databases, and blocks.
Capture and automate macOS UI with the Peekaboo CLI.
Search for places (restaurants, cafes, etc.) via Google Places API proxy on localhost.
Use the mcporter CLI to list, configure, auth, and call MCP servers/tools directly (HTTP or stdio), including ad-hoc servers, config edits, and CLI/type generation.
Remote-control tmux sessions for interactive CLIs by sending keystrokes and scraping pane output.
Send WhatsApp messages to other people or search/sync WhatsApp history via the wacli CLI (not for normal user chats).
Category:developer