Skip to content

Fix/humanization improvements#5

Merged
behr-davide merged 2 commits into
mainfrom
fix/humanization-improvements
Apr 22, 2026
Merged

Fix/humanization improvements#5
behr-davide merged 2 commits into
mainfrom
fix/humanization-improvements

Conversation

@behr-davide

Copy link
Copy Markdown

No description provided.

davide and others added 2 commits April 22, 2026 14:17
Camoufox ships humanize and block_webrtc off by default, so we were shipping
a stealth engine with its biggest behavioural signal (curved, variable-speed
mouse paths vs teleport clicks) and its most obvious network leak (real IP
via ICE candidates past the HTTP proxy) both unused. Default them True in
the sidecar while preserving an explicit False from callers who need
deterministic timing for tests.

click --at X,Y gives agents an escape hatch when the target sits in a
cross-origin iframe the snapshot walker can't descend into -- the classic
Cloudflare Turnstile checkbox case, where a screenshot shows the pixel
clearly but no @en ref exists. Supported on both engines: Camoufox routes
via page.mouse.click(x, y) so humanize still runs; Chrome dispatches raw
CDP mouse events. Mutually exclusive with selector; --at's response shape
is {clicked: {x, y}} so callers can distinguish from the selector path.
Coordinates are viewport-relative by design (no transparent scroll
reconciliation), documented in --help and the CHANGELOG.

Validated end-to-end against 2captcha's Turnstile demo (checkbox click
resolves to "Success!") and CreepJS (WebRTC rows all blocked, 0% across
every headless signal).

Also adds packages/camoufox-sidecar/bin/abdev as a PATH-friendly wrapper
that replaces the AGENT_BROWSER_CAMOUFOX_PYTHON + alias dance from
DEV-LOOP.md.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@behr-davide behr-davide merged commit ceb99c5 into main Apr 22, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant