[−][src]Struct selenium_webdriver::MobileDevice
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]
width: u32,
height: u32,
pixel_ratio: f32,
touch: bool,
user_agent: &str
) -> Self
Method to the create a custom mobile device to emulate
Auto Trait Implementations
impl RefUnwindSafe for MobileDevice
impl Send for MobileDevice
impl Sync for MobileDevice
impl Unpin for MobileDevice
impl UnwindSafe for MobileDevice
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> 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>,