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§
- Browser
Context - An isolated browser context.
- Clear
Cookies Builder - Builder for clearing cookies with filters.
- Page
Info - Information about a page in the context.
- SetGeolocation
Builder - Builder for setting geolocation.
Constants§
- DEFAULT_
TEST_ ID_ ATTRIBUTE - Default test ID attribute name.
Type Aliases§
- WebError
Handler - Type alias for web error handler function.