pub struct WaitFor {
pub idle_network: Option<IdleNetwork>,
pub idle_network0: Option<IdleNetwork>,
pub almost_idle_network0: Option<IdleNetwork>,
pub selector: Option<Selector>,
pub dom: Option<Selector>,
pub delay: Option<Delay>,
pub page_navigations: Option<bool>,
}Fields§
§idle_network: Option<IdleNetwork>Wait until idle networks with a timeout of idleness.
idle_network0: Option<IdleNetwork>Wait until network to be idle with a max timeout.
almost_idle_network0: Option<IdleNetwork>Wait until network to almost be idle with a max timeout.
selector: Option<Selector>Wait until a selector exist. Can determine if a selector exist after executing all js and network events.
dom: Option<Selector>Wait for the dom to update
delay: Option<Delay>Wait until a hard delay.
Wait until page navigation happen. Default is true.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for WaitFor
impl<'de> Deserialize<'de> for WaitFor
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
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