pub struct ClickOptions {
pub scroll_into_view: bool,
pub scroll_behavior: ScrollBehavior,
pub wait_after_scroll: Duration,
pub wait_after_click: Duration,
pub verify: bool,
pub timeout: Duration,
}Expand description
Options for click operations.
Fields§
§scroll_into_view: boolWhether to scroll the element into view before clicking.
scroll_behavior: ScrollBehaviorScroll behavior (smooth or instant).
wait_after_scroll: DurationWait time after scrolling.
wait_after_click: DurationWait time after clicking.
verify: boolWhether to verify the click operation.
timeout: DurationTimeout for the click operation.
Trait Implementations§
Source§impl Clone for ClickOptions
impl Clone for ClickOptions
Source§fn clone(&self) -> ClickOptions
fn clone(&self) -> ClickOptions
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ClickOptions
impl Debug for ClickOptions
Auto Trait Implementations§
impl Freeze for ClickOptions
impl RefUnwindSafe for ClickOptions
impl Send for ClickOptions
impl Sync for ClickOptions
impl Unpin for ClickOptions
impl UnwindSafe for ClickOptions
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