Files
camoufox-rs/tests
9prodhiandClaude Opus 5.5 b8b5ddc039 feat(cli): evaluate --main-world to read page-defined globals
On Camoufox 158, `evaluate` runs in an isolated world and can't see
globals set by page scripts (window.__NEXT_DATA__, app state). The new
flag routes through MainFrame::evaluate_main_world. Sync expressions
only, observable by the page, blocked by strict CSP (documented in the
skill). DaemonRequest::Evaluate gains `main_world` with serde default, so
older clients keep working. Integration test proves isolated vs main
world on a real browser.

Implemented via pi (openai/gpt-6.1-sol); reviewed and gate-verified.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-17 07:09:15 -06:00
..