[][src]Struct selenium_webdriver::MobileDevice

pub struct MobileDevice { /* fields omitted */ }

See the details at https://chromedriver.chromium.org/mobile-emulation

Implementations

impl MobileDevice[src]

pub fn standard_device(device_name: &str) -> Self[src]

Method to select to standard device from the Chrome devtools

pub fn custom_device(
    width: u32,
    height: u32,
    pixel_ratio: f32,
    touch: bool,
    user_agent: &str
) -> Self
[src]

Method to the create a custom mobile device to emulate

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.