Camofox-browser is a stealth headless browser designed to bypass bot detection and anti-scraping measures for AI agents and web automation tasks.
The tool addresses the problem that standard headless browsers like Playwright and Chrome are easily detected and blocked by anti-bot systems. Camofox solves this by wrapping Camoufox, a Firefox fork that implements fingerprint spoofing at the C++ level rather than through JavaScript shims or wrappers. This low-level approach spools browser identifiers like hardware concurrency, WebGL renderers, AudioContext, screen geometry, and WebRTC before JavaScript code can inspect them, eliminating the telltale signs that typically expose automation. The project packages this engine as a REST API optimized for agent use, providing accessibility snapshots instead of raw HTML, stable element references for interaction, and search macros for common websites.
Developers should choose this tool if they need to automate web browsing against sites protected by Cloudflare or other bot-detection systems, particularly when building AI agents that must interact with the real web. It works as a drop-in replacement for Puppeteer and Playwright, making migration straightforward for existing automation code. The approach differs fundamentally from stealth plugins that operate at the JavaScript level, which themselves become detectable fingerprints; instead, the C++ implementation level patching leaves no JavaScript-visible artifacts.
The project shows active maintenance with regular commits and updates to the npm package. Development appears focused on keeping the tool functional against evolving detection techniques and maintaining compatibility with the underlying Camoufox engine.