{"id":4343,"library":"camoufox","title":"Camoufox","description":"Camoufox is a Python wrapper around Playwright designed to launch a stealth, anti-fingerprinting browser. It's built for web scraping and automation, providing advanced features to bypass detection. Currently at version 0.4.11, the project is in active and rapid development, with frequent beta releases for both the Python library and the underlying browser builds.","status":"active","version":"0.4.11","language":"en","source_language":"en","source_url":"https://github.com/daijro/camoufox","tags":["browser automation","playwright","web scraping","anti-fingerprinting","stealth","security","async"],"install":[{"cmd":"pip install camoufox","lang":"bash","label":"Install latest version"}],"dependencies":[{"reason":"Camoufox is a wrapper around Playwright and depends on its browser automation capabilities.","package":"playwright","optional":false}],"imports":[{"symbol":"launch","correct":"from camoufox import launch"}],"quickstart":{"code":"import asyncio\nfrom camoufox import launch\n\nasync def main():\n    # headless=False launches a visible browser; set to True for background operation\n    browser = await launch(headless=False)\n    page = await browser.new_page()\n    await page.goto(\"https://www.example.com\")\n    print(f\"Page title: {await page.title()}\")\n    await page.screenshot(path=\"example.png\")\n    await browser.close()\n\nif __name__ == '__main__':\n    asyncio.run(main())","lang":"python","description":"Launches a Camoufox browser instance (visible by default), navigates to a page, prints its title, takes a screenshot, and then closes the browser. This demonstrates basic browser automation with Camoufox."},"warnings":[{"fix":"Use with caution in non-critical environments. Monitor the Camoufox GitHub repository for updates and bug reports. Consider locking your project's dependencies to specific working versions.","message":"Camoufox is explicitly stated to be in active development and may not be suitable for a production environment. Users should anticipate frequent changes, potential bugs, and a lack of long-term stability guarantees.","severity":"gotcha","affected_versions":"All versions (0.x.x)"},{"fix":"Upgrade the Camoufox Python library to version 0.4.4 or newer to incorporate the leak fix: `pip install --upgrade camoufox`.","message":"A critical leak fix was implemented, requiring users to update the Python library. Older versions (specifically pre-0.4.4) may suffer from unpatched leaks that could compromise privacy or stealth capabilities.","severity":"breaking","affected_versions":"<0.4.4"},{"fix":"Before deployment, review the Camoufox GitHub releases page for known issues relevant to the browser version your `camoufox` Python library will pull and launch. Test thoroughly on your target operating system.","message":"Underlying Camoufox browser builds (e.g., v146-hardware, FF146-BETA) are often released with warnings about being untested, unstable, or having known issues on specific platforms (e.g., Linux failing to launch pages, MacOS with known bugs).","severity":"gotcha","affected_versions":"Specific browser builds launched by any camoufox Python version. Refer to Camoufox GitHub releases for details on browser binaries."},{"fix":"Ensure you are using a recent version of the `camoufox` Python library to benefit from updated and fixed browser binaries. Always test routing functionality if it's critical to your application.","message":"Earlier beta browser builds (e.g., v135.0-beta.21) had a bug that broke Playwright's routing API functionality. While fixed in subsequent browser builds, users on older `camoufox` Python library versions that pull these specific problematic browser builds might encounter issues.","severity":"gotcha","affected_versions":"Potentially `camoufox` Python versions that are designed to launch browser builds prior to `v135.0-beta.22`."}],"env_vars":null,"last_verified":"2026-04-12T00:00:00.000Z","next_check":"2026-07-11T00:00:00.000Z"}