Struct spider::features::chrome_common::WaitFor
source · pub struct WaitFor {
pub selector: Option<WaitForSelector>,
pub idle_network: Option<WaitForIdleNetwork>,
pub delay: Option<WaitForDelay>,
pub page_navigations: bool,
}
Expand description
The wait for options for the page. Multiple options can be set. This does nothing without the chrome
flag enabled.
Fields§
§selector: Option<WaitForSelector>
The max time to wait for the selector.
idle_network: Option<WaitForIdleNetwork>
Wait for idle network 500ms.
delay: Option<WaitForDelay>
Wait for delay. Should only be used for testing.
Wait for page navigations.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for WaitFor
impl RefUnwindSafe for WaitFor
impl Send for WaitFor
impl Sync for WaitFor
impl Unpin for WaitFor
impl UnwindSafe for WaitFor
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more