pub mod context; pub mod lifecycle; pub mod page; #[cfg(feature = "render")] pub mod pdf; pub mod profiles; pub use context::BrowserContext; pub use lifecycle::{LifecycleState, WaitUntil}; pub use obscura_js::HTML_TO_MARKDOWN_JS; #[cfg(feature = "render")] pub use obscura_js::{ validate_capture_region, AnimationSample, AnimationSampleMode, AnimationSampleTime, CaptureError, CaptureRegion, }; pub use page::{NetworkEvent, Page, PageError}; #[cfg(feature = "render")] pub use pdf::{RasterPdfError, RasterPdfOptions, RasterPdfPageRange}; // Re-exported so the embeddable `obscura` crate (which depends on obscura-browser, // not obscura-js) can surface the interception channel types. pub use obscura_js::ops::{InterceptResolution, InterceptedRequest};