Fix/humanization improvements#5
Merged
Merged
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.