Expand description
Page management and navigation.
Re-exports§
pub use clock::Clock;pub use clock::TimeValue;pub use console::ConsoleMessage;pub use console::ConsoleMessageLocation;pub use console::ConsoleMessageType;pub use console::JsArg;pub use dialog::Dialog;pub use download::Download;pub use download::DownloadState;pub use emulation::EmulateMediaBuilder;pub use emulation::MediaType;pub use emulation::VisionDeficiency;pub use events::PageEventManager;pub use file_chooser::FileChooser;pub use file_chooser::FilePayload;pub use frame::Frame;pub use frame_locator::FrameElementLocator;pub use frame_locator::FrameLocator;pub use frame_locator::FrameRoleLocatorBuilder;pub use keyboard::Keyboard;pub use locator::AriaCheckedState;pub use locator::AriaRole;pub use locator::AriaSnapshot;pub use locator::BoundingBox;pub use locator::BoxModel;pub use locator::ElementHandle;pub use locator::FilterBuilder;pub use locator::Locator;pub use locator::LocatorOptions;pub use locator::RoleLocatorBuilder;pub use locator::Selector;pub use locator::TapBuilder;pub use locator::TextOptions;pub use locator_handler::LocatorHandlerHandle;pub use locator_handler::LocatorHandlerManager;pub use locator_handler::LocatorHandlerOptions;pub use page_error::PageError as PageErrorInfo;pub use page_error::WebError;pub use video::Video;pub use video::VideoOptions;
Modules§
- binding
- Exposed function bindings.
- clock
- Clock mocking for controlling time in browser pages.
- console
- Console message types and event handling.
- dialog
- Dialog handling for browser dialogs.
- download
- Download handling for browser downloads.
- emulation
- Page emulation features for media and vision deficiency emulation.
- events
- Page event handling for dialogs, downloads, file choosers, console, and errors.
- file_
chooser - File chooser handling for file upload dialogs.
- frame
- Frame management and navigation.
- frame_
locator - Frame locator for interacting with iframe content.
- keyboard
- Keyboard input handling.
- locator
- Locator system for element selection.
- locator_
handler - Locator handlers for handling overlay elements that block actions.
- page_
error - Page error types and event handling.
- popup
- Popup window handling.
- video
- Video recording for pages.
Structs§
- Clip
Region - Clip region for screenshots.
- Drag
AndDrop Builder - Builder for drag and drop operations.
- Goto
Builder - Builder for configuring page navigation.
- JsHandle
- A handle to a JavaScript object in the page context.
- Margins
- Margins for PDF generation in inches.
- Mouse
- Mouse controller for direct mouse input.
- Navigation
Response - Response from a navigation.
- Page
- A browser page (tab).
- PdfBuilder
- Builder for generating PDFs.
- Screenshot
Builder - Builder for capturing screenshots.
- Script
TagBuilder - Builder for injecting script tags.
- SetContent
Builder - Builder for setting page content.
- Style
TagBuilder - Builder for injecting style tags.
- Touchscreen
- Touchscreen controller for touch input simulation.
- Viewport
Size - Viewport size.
- Wait
ForFunction Builder - Builder for
wait_for_function.
Enums§
- Animations
- Animation handling mode for screenshots.
- Dialog
Type - Type of JavaScript dialog.
- Mouse
Button - Mouse button type.
- Paper
Format - Paper format for PDF generation.
- Polling
- Polling mode for
wait_for_function. - Screenshot
Format - Image format for screenshots.
- Script
Type - Script type for injection.
Constants§
- DEFAULT_
TEST_ ID_ ATTRIBUTE - Default test ID attribute name.