[][src]Struct selenium_webdriver::SafariOptions

pub struct SafariOptions { /* fields omitted */ }

Utility struct to adjust the safari browser session

Please see https://developer.apple.com/documentation/webkit/about_webdriver_for_safari for more info

Implementations

impl SafariOptions[src]

pub fn new() -> Self[src]

pub fn enable_automatic_inspection(&mut self) -> &mut Self[src]

Preloads the Web Inspector and JavaScript debugger in the background.

pub fn enable_automatic_profiling(&mut self) -> &mut Self[src]

Preloads Web Inspector and starts a timeline recording in the background.

pub fn enable_diagnose(&mut self) -> &mut Self[src]

Turns on the debugger for safaridriver

pub fn enable_simulator(&mut self) -> &mut Self[src]

Turn on the IOS simulator

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.