pub struct WaitFor {
pub idle_network: Option<IdleNetwork>,
pub selector: 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.
selector: Option<Selector>Wait until a selector exist. Can determine if a selector exist after executing all js and network events.
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