mirror of
https://github.com/9prodhi/camoufox-rs.git
synced 2026-11-29 00:01:00 +00:00
Fixes the bug where camoufox-rs evaluates against a cross-origin ad-pixel iframe (e.g. aax-eu.amazon-adsystem.com on amazon.in) instead of the top page. Three accept-the-first-event spots in src/cli/instance.rs are replaced with authoritative protocol responses; a new MainFrame type replaces the public Page struct so page-scoped operations cannot target sub-frames at compile time. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>