Camoufox Open Source Anti-Detect Browser for Python Automation
Camoufox is an open source anti-detect browser built on Firefox that provides robust fingerprint injection and anti-bot evasion for Python automation workflows. It integrates with Playwright to deliver stealth browsing capabilities that bypass modern bot detection systems.
npx skills add agentskillexchange/skills --skill camoufox-antidetect-browser-python
Camoufox is a purpose-built anti-detect browser that enables AI agents and automation scripts to interact with websites without being flagged by anti-bot systems. Built as a modified Firefox fork, Camoufox intercepts fingerprint data at the C++ implementation level rather than injecting JavaScript, making it fundamentally more resistant to detection than traditional browser automation approaches.
What this skill actually does
How It Works
Camoufox wraps around the Playwright API through its Python package. When launched, it automatically generates and injects unique device characteristics including OS fingerprints, CPU info, navigator properties, fonts, HTTP headers, screen dimensions, viewport sizes, WebGL parameters, and browser addons. It uses BrowserForge under the hood to produce realistic fingerprint combinations.
Key Capabilities
- C++ Level Fingerprint Injection: All navigator properties, screen dimensions, geolocation, timezone, locale, and Intl spoofing are handled at the browser engine level, invisible to page JavaScript inspection.
- WebRTC IP Spoofing: Operates at the protocol level, not through JavaScript overrides.
- Anti-Graphical Fingerprinting: WebGL parameters, supported extensions, context attributes, shader precision formats, and font metrics are all spoofed consistently.
- Human-like Mouse Movement: Built-in cursor path simulation that mimics natural human interaction patterns.
- Ad Blocking and CSS Animation Removal: Reduces noise and improves performance for scraping tasks.
- Memory Optimized: Debloated Firefox build optimized for automation workloads.
Integration Points
Install from PyPI with pip install camoufox and camoufox fetch to download the browser binary. The Python interface wraps Playwright, so existing Playwright scripts can be adapted with minimal changes. Camoufox supports both sync and async APIs, headless and headed modes, and can be configured with custom proxies, geolocation, and locale settings per session.
Agent Use Cases
Camoufox is particularly useful for agents that need to access websites protected by Cloudflare, DataDome, or similar WAFs. Web scraping agents can rotate fingerprints across sessions while maintaining realistic browser signatures. Research agents can access content without triggering CAPTCHA challenges. QA agents can test how applications behave with different device and browser configurations.