Module context

Module context 

Source
Expand description

Browser context management.

Re-exports§

pub use events::ContextEventManager;
pub use events::HandlerId;
pub use storage::StorageStateBuilder;
pub use storage::StorageStateOptions;
pub use trace::Tracing;
pub use trace::TracingOptions;
pub use types::ColorScheme;
pub use types::ContextOptions;
pub use types::ContextOptionsBuilder;
pub use types::Cookie;
pub use types::ForcedColors;
pub use types::Geolocation;
pub use types::HttpCredentials;
pub use types::IndexedDbDatabase;
pub use types::IndexedDbEntry;
pub use types::IndexedDbIndex;
pub use types::IndexedDbObjectStore;
pub use types::LocalStorageEntry;
pub use types::Permission;
pub use types::ReducedMotion;
pub use types::SameSite;
pub use types::StorageOrigin;
pub use types::StorageState;
pub use types::StorageStateSource;
pub use types::ViewportSize;
pub use crate::page::page_error::WebError;

Modules§

binding
Context-level exposed function bindings.
events
Event system infrastructure for browser context.
routing
Context-level network routing.
storage
Storage state collection and restoration.
trace
Tracing implementation for recording test execution traces.
types
Context-related types.

Structs§

BrowserContext
An isolated browser context.
ClearCookiesBuilder
Builder for clearing cookies with filters.
PageInfo
Information about a page in the context.
SetGeolocationBuilder
Builder for setting geolocation.

Constants§

DEFAULT_TEST_ID_ATTRIBUTE
Default test ID attribute name.

Type Aliases§

WebErrorHandler
Type alias for web error handler function.