pub struct CheckBuilder<'a> { /* private fields */ }
Implementations§
Source§impl<'a> CheckBuilder<'a>
impl<'a> CheckBuilder<'a>
pub async fn check(self) -> Result<(), Arc<Error>>
Sourcepub fn position(self, x: Position) -> Self
pub fn position(self, x: Position) -> Self
A point to use relative to the top-left corner of element padding box. If not specified, uses some visible point of the element.
Sourcepub fn force(self, x: bool) -> Self
pub fn force(self, x: bool) -> Self
Whether to bypass the actionability checks. Defaults to false
.
Sourcepub fn no_wait_after(self, x: bool) -> Self
pub fn no_wait_after(self, x: bool) -> Self
Actions that initiate navigations are waiting for these navigations to happen and for pages to start loading. You can
opt out of waiting via setting this flag. You would only need this option in the exceptional cases such as navigating to
inaccessible pages. Defaults to false
.
pub fn timeout(self, x: f64) -> Self
Sourcepub fn trial(self, x: bool) -> Self
pub fn trial(self, x: bool) -> Self
When set, this method only performs the actionability checks and skips the action. Defaults to
false
. Useful to wait until the element is ready for the action without performing it.
pub fn clear_position(self) -> Self
pub fn clear_force(self) -> Self
pub fn clear_no_wait_after(self) -> Self
pub fn clear_timeout(self) -> Self
pub fn clear_trial(self) -> Self
Auto Trait Implementations§
impl<'a> Freeze for CheckBuilder<'a>
impl<'a> RefUnwindSafe for CheckBuilder<'a>
impl<'a> Send for CheckBuilder<'a>
impl<'a> Sync for CheckBuilder<'a>
impl<'a> Unpin for CheckBuilder<'a>
impl<'a> UnwindSafe for CheckBuilder<'a>
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