[−][src]Struct selenium_webdriver::ActionsWheel
Struct to create the wheel actions sequence
Implementations
impl ActionsWheel
[src]
pub fn new() -> ActionsWheel
[src]
pub fn pause(&mut self, duration: u32) -> &mut Self
[src]
pub fn scroll(
&mut self,
init_x_position: i32,
init_y_position: i32,
x_axis_scroll: i32,
y_axis_scroll: i32
) -> &mut Self
[src]
&mut self,
init_x_position: i32,
init_y_position: i32,
x_axis_scroll: i32,
y_axis_scroll: i32
) -> &mut Self
Scroll by number of pixels (x-axis and y-axis) from a starting position within the viewport. The value of pixels to scroll may be both positive and negative.
Examples
let mut wheel = ActionsWheel::new(); wheel.scroll(0, 0, 100, 100).scroll(100, 100, 100, 100);
Trait Implementations
impl Debug for ActionsWheel
[src]
impl<'de> Deserialize<'de> for ActionsWheel
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Serialize for ActionsWheel
[src]
Auto Trait Implementations
impl RefUnwindSafe for ActionsWheel
impl Send for ActionsWheel
impl Sync for ActionsWheel
impl Unpin for ActionsWheel
impl UnwindSafe for ActionsWheel
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,