pub enum WaitUntil {
DomContentLoaded,
NetworkIdle,
Selector(String),
}Expand description
§Example
use stygian_browser::page::WaitUntil;Specifies what condition to wait for after a page navigation.
Variants§
DomContentLoaded
Fires when the initial HTML is fully parsed, without waiting for subresources such as images and stylesheets to finish loading.
NetworkIdle
Selector(String)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for WaitUntil
impl RefUnwindSafe for WaitUntil
impl Send for WaitUntil
impl Sync for WaitUntil
impl Unpin for WaitUntil
impl UnsafeUnpin for WaitUntil
impl UnwindSafe for WaitUntil
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