diff --git a/crates/obscura-browser/src/page.rs b/crates/obscura-browser/src/page.rs index a3e2b43..dd72551 100644 --- a/crates/obscura-browser/src/page.rs +++ b/crates/obscura-browser/src/page.rs @@ -137,6 +137,11 @@ pub struct Page { pub intercept_enabled: bool, pub intercept_block_patterns: Vec, intercept_tx: Option>, + // Scripts to execute in the page's JS context BEFORE any of the page's + // own scripts run — the CDP `Page.addScriptToEvaluateOnNewDocument` + // contract. Includes `Runtime.addBinding` shims so puppeteer's + // `exposeFunction` bindings exist before inline `