Skip to Content
Foxbridge CDP ProxyOverview

Foxbridge CDP Proxy

Foxbridge translates Chrome DevTools Protocol (CDP) into Firefox’s Juggler and WebDriver BiDi protocols. Any tool built for Chrome β€” Puppeteer, OpenClaw, browser-use β€” can control Firefox-based browsers like Camoufox without modification.

Repository: PopcornDev1/foxbridgeΒ 

Why Foxbridge?

AI agent tools like OpenClaw speak CDP natively. Firefox uses Juggler, a completely different protocol. Without foxbridge, agents can’t use Camoufox’s anti-detect stealth β€” they’re stuck with Chrome, which is trivially detectable by anti-bot systems.

Foxbridge eliminates this gap: it presents a CDP WebSocket that looks exactly like Chrome to the client, but every command is translated and routed through Camoufox.

Architecture

CDP Client (Puppeteer, OpenClaw, etc.) β”‚ β–Ό WebSocket (ws://localhost:9222) β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”‚ foxbridge β”‚ β”‚ CDP Server + HTTP Discovery β”‚ β”‚ Bridge Layer (method translation) β”‚ β”‚ β”œβ”€β”€ Juggler Backend (pipe FD 3/4) β”‚ β”‚ └── BiDi Backend (WebSocket) β”‚ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β”‚ β–Ό Firefox / Camoufox

Key Features

  • Full Puppeteer compatibility β€” ~100% CDP method coverage across 12 domains
  • Dual backend β€” Juggler (production) and WebDriver BiDi (W3C standard)
  • Request interception β€” Fetch domain with continue/fulfill/fail
  • Tabβ†’page dual session model β€” matches Chrome’s internal protocol structure
  • Numeric↔string context ID translation β€” CDP uses numbers, Juggler uses strings
  • awaitPromise support β€” async expressions wrapped in IIFEs transparently
  • VulpineOS integration β€” launches automatically alongside the kernel

VulpineOS Integration

When foxbridge is installed, VulpineOS launches it on startup and configures OpenClaw to route browser traffic through Camoufox:

OpenClaw agent β†’ CDP β†’ foxbridge:9222 β†’ Juggler pipe β†’ Camoufox

If foxbridge isn’t available, OpenClaw falls back to its built-in Chrome.

Documentation

Last updated on