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 / CamoufoxKey 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 β CamoufoxIf foxbridge isnβt available, OpenClaw falls back to its built-in Chrome.
Documentation
- Quick Start β Install, run, and connect Puppeteer in 2 minutes
- CDP Coverage β Every translated method across all 12 domains
- Event Translation β How Juggler events map to CDP events
- BiDi Backend β WebDriver BiDi support and how it works
- CLI Reference β All flags, examples, and HTTP endpoints