The headless browser for AI agents and web scraping
Drop unused context field from obscura::Page (#274)
SGavrlf64aca8064d6
diff --git a/crates/obscura/src/browser.rs b/crates/obscura/src/browser.rsindex 2c30d95e..4575bcec 100644--- a/crates/obscura/src/browser.rs+++ b/crates/obscura/src/browser.rs@@ -57,7 +57,6 @@ impl Browser {);Ok(Page {inner: page,- context: self.context.clone(),})}diff --git a/crates/obscura/src/page.rs b/crates/obscura/src/page.rsindex f8f1b33a..07a97168 100644--- a/crates/obscura/src/page.rs+++ b/crates/obscura/src/page.rs@@ -1,8 +1,7 @@-use std::sync::Arc;use std::time::Duration;use obscura_browser::lifecycle::WaitUntil;-use obscura_browser::{BrowserContext, Page as InnerPage};+use obscura_browser::Page as InnerPage;use serde_json::Value;use crate::error::Error;@@ -18,7 +17,6 @@ fn nid_from_value(v: &Value) -> Option<u64> {/// A browser tab/page.pub struct Page {pub(crate) inner: InnerPage,- pub(crate) context: Arc<BrowserContext>,}impl Page {