pub struct SafariOptions { /* private fields */ }
Expand description
Utility struct to adjust the safari browser session
Please see https://developer.apple.com/documentation/webkit/about_webdriver_for_safari for more info
Implementations§
Source§impl SafariOptions
impl SafariOptions
pub fn new() -> Self
Sourcepub fn enable_automatic_inspection(&mut self) -> &mut Self
pub fn enable_automatic_inspection(&mut self) -> &mut Self
Preloads the Web Inspector and JavaScript debugger in the background.
Sourcepub fn enable_automatic_profiling(&mut self) -> &mut Self
pub fn enable_automatic_profiling(&mut self) -> &mut Self
Preloads Web Inspector and starts a timeline recording in the background.
Sourcepub fn enable_diagnose(&mut self) -> &mut Self
pub fn enable_diagnose(&mut self) -> &mut Self
Turns on the debugger for safaridriver
Sourcepub fn enable_simulator(&mut self) -> &mut Self
pub fn enable_simulator(&mut self) -> &mut Self
Turn on the IOS simulator
Auto Trait Implementations§
impl Freeze for SafariOptions
impl RefUnwindSafe for SafariOptions
impl Send for SafariOptions
impl Sync for SafariOptions
impl Unpin for SafariOptions
impl UnwindSafe for SafariOptions
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