cloudflare-browser

Control headless Chrome via Cloudflare Browser Rendering CDP WebSocket.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/risyadaji/moltbot-sandbox --skill cloudflare-browser
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cloudflare-browser
Source: https://github.com/risyadaji/moltbot-sandbox/tree/main/skills/cloudflare-browser
Command: npx skills add https://github.com/risyadaji/moltbot-sandbox --skill cloudflare-browser

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires ws, and includes scripts (resource) components.

What problem does it solve?

This Skill enables programmatic control of a headless Chrome browser through Cloudflare's Browser Rendering service, enabling screenshots, page navigation, scraping, and video capture directly from Cloudflare Workers.

Core Features & Use Cases

  • Headless browser control over CDP via Cloudflare Browser Rendering to operate across websites from serverless functions.
  • Screenshots & video capture: take screenshots and compile video recordings of web interactions for monitoring, QA, or demos.
  • Web automation and scraping: navigate pages, extract content, and perform lightweight automation within a Cloudflare Worker context.

Quick Start

Install dependencies with npm install Run a quick screenshot: node scripts/screenshot.js https://example.com output.png Capture a short video: node scripts/video.js "https://example.com" output.mp4

Frequently Asked Questions about cloudflare-browser

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I take screenshots of websites from a Cloudflare Worker?

Cloudflare Browser Rendering enables programmatic screenshots via CDP WebSocket. Configure your browser profile with a cdpUrl, set the CDP_SECRET environment variable, and use the ws library to send Chrome DevTools Protocol commands from your Worker. Run node scripts/screenshot.js to capture pages directly.

Can I scrape web content using headless Chrome in Cloudflare Workers?

Yes. This Skill provides headless Chrome control through Cloudflare's Browser Rendering CDP, allowing you to navigate pages, extract content, and perform lightweight web automation without leaving your Worker context. The ws dependency handles CDP communication over WebSocket.

What's the best way to capture video recordings of web interactions?

Use Cloudflare Browser Rendering's CDP WebSocket to control headless Chrome and compile video recordings of page interactions. This Skill provides video capture scripts and handles the CDP communication layer, letting you record web sessions directly from serverless functions.

Do I need special setup to use Chrome automation with Cloudflare?

Yes. You need a configured browser profile with a cdpUrl, the CDP_SECRET environment variable set, and the ws library installed. This Skill abstracts CDP protocol handling, but these prerequisites enable secure WebSocket communication to Cloudflare's Browser Rendering service.

Can I automate website monitoring and testing from Cloudflare Workers?

Cloudflare Browser Rendering via CDP enables automated monitoring, QA testing, and demo recording directly from Workers. Navigate pages, capture screenshots and video, and extract data—all without running a dedicated browser service outside your serverless infrastructure.