What problem does it solve?
This skill enables automated browser interactions within Cloudflare Workers by controlling a headless Chrome instance through Cloudflare's Browser Rendering (CDP) WebSocket. It simplifies screenshots, page navigation, scraping, and video capture without leaving the Cloudflare environment.
Core Features & Use Cases
- Headless browser control: Connect to a Cloudflare-provided CDP endpoint and run common actions like navigate, capture screenshots, and evaluate JavaScript.
- Visual content capture: Create screenshots and short video captures of multiple pages for QA, monitoring, or archiving.
- Scriptable automation: Integrate with OpenClaw profiles to drive browser tasks from automation workflows.
- Use Case: Generate a screenshot gallery of a product page, or render a page to video for demos inside Cloudflare Workers.
Quick Start
Use the screenshot script to capture a page:
node /path/to/skills/cloudflare-browser/scripts/screenshot.js https://example.com output.png
Or generate a multi-page video:
node /path/to/skills/cloudflare-browser/scripts/video.js "https://site1.com,https://site2.com" output.mp4