skillfed

camoufox

Wrapper around Playwright to help launch Camoufox

camoufox v0.5.4 948.4K downloads/30d#4,663 on PyPI11,105
Permissive license MIT Active released

What it is and what it does

This package wraps Playwright's API to launch a modified Firefox browser with automatically generated device fingerprints that mimic real-world traffic patterns. Instead of using a generic browser profile, it uses browserforge to create unique OS, CPU, navigator, font, screen, and WebGL characteristics for each session. It also calculates matching geolocation, timezone, and locale data to avoid proxy detection mismatches.

The package is designed for web scraping, testing, and automation scenarios where detection avoidance matters. It provides both a Python API and CLI tools to manage browser versions, switch between official and community builds, and configure active channels. Optional GeoIP support requires downloading a MaxMind database to map proxy IPs to realistic location data.

Use it for:

  • Web scraping sites that detect and block headless browsers or detect mismatched geolocation and proxy origin
  • Automated testing of anti-bot systems to verify they catch realistic fingerprints
  • Running browser automation tasks through residential proxies with matching timezone and locale
  • Generating multiple concurrent browser sessions with statistically realistic device profiles
  • Debugging browser fingerprinting by inspecting injected characteristics via Playwright inspector

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Python wrapper around Playwright that automatically generates and injects realistic device fingerprints (OS, CPU, navigator, fonts, screen dimensions, WebGL, etc.) into a headless Firefox browser to avoid detection.

Yes, if you need browser automation with anti-detection fingerprinting. The package is actively maintained, has no known vulnerabilities, low install friction, and a permissive license. Install with the [geoip] extra if using proxies. Requires downloading the browser binary separately via CLI before first use.

Install

camoufox on PyPI

pip

pip install camoufox

uv

uv add camoufox

poetry

poetry add camoufox

Installing camoufox

Before you install

Low friction: pure Python wheel with 16 runtime dependencies including playwright and browserforge. Active maintenance—last commit 2026-08-12, released 29 days ago. Supports Python 3.10 through 3.14. No known vulnerabilities.

License in practice

MIT license (permissive). You can use, modify, and distribute this package freely in commercial or private projects with minimal restrictions.

Quickstart

pip install 'camoufox[geoip]'
python3 -m camoufox fetch

from camoufox import launch

async with await launch() as browser:
    page = await browser.new_page()
    await page.goto('https://example.com')

Requires the Camoufox browser binary to be downloaded separately via camoufox fetch before use. Python 3.10 or later required.

Verify before relying

  • Whether fingerprint generation actually defeats modern anti-bot detection systems in practice
  • Performance overhead compared to plain Playwright when generating unique fingerprints per session
  • Compatibility with Playwright versions beyond those tested in the package's CI

Package facts

License MIT (permissive)
Python support supports the current Python release (<4.0,>=3.10)
Install friction low — pure-Python wheel
Runtime dependencies 16 — browserforge, inquirer, language-tags, lxml, numpy, orjson, platformdirs, playwright, pysocks, pyyaml, requests, rich, rich-click, screeninfo, typing_extensions, ua_parser
Maintenance actively maintained — 29 days since the last release
Last repo commit
First released
Downloads 948,429/month — #4,663 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: camoufox-0.5.4-py3-none-any.whl

Keywords: client, fingerprint, browser, scraping, injector, firefox, playwright

License :: OSI Approved :: MIT LicenseProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Topic :: Internet :: WWW/HTTPTopic :: Internet :: WWW/HTTP :: BrowsersTopic :: Software Development :: Libraries :: Python Modules

Tags

browser fingerprint injectionplaywright firefox wrapperanti-detection browser automationdevice characteristic spoofingheadless firefox with fingerprintsweb scraping with realistic headersproxy-aware browser launcher
anti-detectionbrowser-fingerprintingweb-scraping

More Python Modules packages

idna

Converts domain names between Unicode and…

permissive · top 100 on PyPI

setuptools

Setuptools is a Python build backend and…

permissive · top 100 on PyPI

PyYAML

PyYAML parses and emits YAML 1.1 data format,…

permissive · top 100 on PyPI

pydantic

Pydantic validates Python data structures…

permissive · top 100 on PyPI

annotated-types

Provides reusable metadata objects for use with…

permissive · top 100 on PyPI

typing-inspection

Provides runtime tools to inspect and…

permissive · top 100 on PyPI

browserforge

Generates realistic browser headers and device…

permissive · top 5,000 on PyPI

cloakbrowser

Launches a stealth Chromium browser that evades…

permissive · top 15,000 on PyPI

rebrowser-playwright

A patched version of Playwright that automates…

permissive · top 15,000 on PyPI

playwright

Automate Chromium, Firefox, and WebKit browsers…

permissive · top 1,000 on PyPI

pytest-playwright

A pytest plugin that integrates Playwright…

permissive · top 5,000 on PyPI

tf-playwright-stealth

Patches Playwright to evade bot-detection…

permissive · top 15,000 on PyPI

scrapy-playwright

Integrates Playwright browser automation into…

permissive · top 5,000 on PyPI

robotframework-browser

Browser automation library for Robot Framework…

permissive · top 5,000 on PyPI

apify-fingerprint-datapoints

Provides a dataset of browser fingerprint…

permissive · top 5,000 on PyPI

pytest-playwright-asyncio

A pytest plugin that integrates Playwright…

permissive · top 15,000 on PyPI