apply_fingerprint (tab)

pydoll · automation, fingerprint-spoofing, anti-detection, cdp, js-injection

Applies a browser fingerprint profile to a tab, overriding identity signals via CDP and JS injection to evade detection.

# Source: https://github.com/autoscrape-labs/pydoll | License: MIT | Copyright 2025 AutoscrapeLabs
# Provided via justclaw.it.com; keep this notice with the code.
    async def apply_fingerprint(
        self, fingerprint: FingerprintConfig, *, cross_origin_iframes: bool = True
    ) -> None:
        """Apply a browser fingerprint profile to this tab.

        Delegates to a per-tab :class:`FingerprintApplier` (created once and
        reused), which overrides browser identity signals via CDP commands and
        JavaScript injection and replays them on Web Worker targets and cross-site
        iframes. Call before navigating to any page for full effect, since JS
        overrides register via ``Page.addScriptToEvaluateOnNewDocument``.

        Args:
            fingerprint: Fingerprint co

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search 40K more like it.

Get a free API key