What problem does it solve?
Automating interactions with live web pages in a real browser can be flaky and brittle. This skill provides a reliable, programmable way to drive a Chrome/Chromium session via the Chrome DevTools Protocol, enabling deterministic navigation, clicking, form filling, evaluating JavaScript, and screenshot capture.
Core Features & Use Cases
- Real-browser automation: Navigate pages, click elements, fill forms, and run JavaScript in a Chrome/Chromium context.
- Testing and scraping: Validate UI behavior or extract data from live sites with visual verification via screenshots.
- Deterministic targeting: Manage the active tab reliably; supports opening a new tab when needed to avoid session drift.
Quick Start
Start a Chrome instance with CDP, connect via puppeteer-core, and use the provided tools to drive interactions:
- Start the CDP server: ./tools/start.js
- Open a page in a deterministic tab: ./tools/nav.js https://example.com --new
- Evaluate an expression in the page: ./tools/eval.js 'document.title'
- Capture a screenshot: ./tools/screenshot.js