cloudflare-browser

Control headless Chrome via CDP over WebSocket in Cloudflare Workers.

5|Updated Feb 2, 2026
One-click install
npx skills add https://github.com/0xHoneyJar/loa-beauvoir --skill cloudflare-browser-0xhoneyjar
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cloudflare-browser
Source: https://github.com/0xHoneyJar/loa-beauvoir/tree/main/upstream/moltworker/skills/cloudflare-browser
Command: npx skills add https://github.com/0xHoneyJar/loa-beauvoir --skill cloudflare-browser-0xhoneyjar

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill enables browser automation directly within a Cloudflare Workers environment, allowing for tasks like web scraping, screenshots, and page navigation without needing a traditional server.

Core Features & Use Cases

  • Headless Chrome Control: Interact with web pages using the Chrome DevTools Protocol (CDP) via WebSocket.
  • Web Scraping: Extract data from dynamic web pages.
  • Screenshots & Video Capture: Generate visual representations of web pages.
  • Use Case: Automatically take screenshots of a list of e-commerce product pages to monitor for visual changes or to archive their appearance.

Quick Start

Use the cloudflare-browser skill to take a screenshot of https://example.com and save it as output.png.

Frequently Asked Questions about cloudflare-browser

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

FAQPage Schema
How do I run headless Chrome in a Cloudflare Workers serverless environment?

Run headless Chrome in a Cloudflare Workers serverless environment by using the Chrome DevTools Protocol over WebSocket to control Cloudflare's Browser Rendering service for automation tasks like page navigation and scraping.

Can I take screenshots of web pages using Cloudflare's Browser Rendering service?

You can take screenshots of web pages using Cloudflare's Browser Rendering service by sending CDP commands over a WebSocket connection within your serverless Workers code to capture visual output.

What do I need to configure before using CDP over WebSocket for browser automation?

To use CDP over WebSocket for browser automation, you need to configure a cdpUrl for browser profiles and set a CDP_SECRET environment variable to authenticate your connection.

How does web scraping dynamic web pages work with Cloudflare Workers?

Web scraping dynamic web pages with Cloudflare Workers works by controlling headless Chrome through the Chrome DevTools Protocol to execute scripts and extract data rendered via JavaScript.

What are the limitations of serverless browser automation compared to traditional servers?

Serverless browser automation relies on Cloudflare's Browser Rendering service via WebSocket and CDP, which may restrict execution time and local resource usage compared to running traditional servers.

Is browser automation without a traditional server possible for monitoring e-commerce pages?

Browser automation without a traditional server is possible by using Cloudflare Workers to control headless Chrome, allowing you to automatically screenshot and monitor e-commerce product pages.