cloudflare-browser

Automate browser screenshots, navigation, and video capture via Cloudflare Browser Rendering CDP.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill enables automated browser rendering and interaction inside Cloudflare Workers by connecting to Cloudflare's Browser Rendering CDP WebSocket. It lets developers automate screenshots, page navigation, scraping, and video capture without leaving the edge environment.

Core Features & Use Cases

  • Headless browser control: navigate pages, capture screenshots, and extract HTML/text.
  • Video capture: generate MP4 videos from multiple pages for demos or testing.
  • Scriptable workflows: reuse the included scripts to automate common tasks using a CDP client.

Quick Start

  • Screenshot: node /path/to/skills/cloudflare-browser/scripts/screenshot.js https://example.com output.png
  • Video: node /path/to/skills/cloudflare-browser/scripts/video.js 'https://site1.com,https://site2.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 automate headless browser tasks inside Cloudflare Workers?

You can automate headless browser tasks inside Cloudflare Workers by using the cloudflare-browser Skill to connect to Cloudflare's Browser Rendering CDP WebSocket. This allows you to navigate pages, capture screenshots, and extract HTML directly from the edge environment.

Can I capture screenshots and generate video content using Cloudflare Browser Rendering?

Yes, you can capture screenshots and generate MP4 video content using Cloudflare Browser Rendering. The Skill provides dedicated scripts like screenshot.js and video.js to automate media capture from single or multiple web pages.

How do I control a headless browser via CDP over WebSocket in Cloudflare?

You control a headless browser via CDP over WebSocket by implementing a CDP client workflow within your Cloudflare Workers environment. The Skill includes a cdp-client.js script dependency to establish this connection and execute browser operations.

What is needed to run automated page scraping and media capture in Cloudflare?

To run automated page scraping and media capture in Cloudflare, you need a Cloudflare Workers environment, the Node.js ws dependency for WebSocket communication, and a SKILL.md file with YAML frontmatter defining the Skill's name and description.

Does Cloudflare Browser Rendering support automated testing and reproducible workflows?

Cloudflare Browser Rendering supports automated testing and reproducible workflows by allowing developers to script browser operations using a CDP client. This enables consistent page rendering, scraping, and media generation at the edge.