pub struct LoadedChromePackage { /* private fields */ }Expand description
A downloaded Chrome and ChromeDriver pair, with their on-disk executable paths resolved.
Returned by ChromeForTestingManager::download. Hand it to
ChromeForTestingManager::launch_chromedriver or ChromeForTestingManager::prepare_caps
to drive a browser session.
Implementations§
Source§impl LoadedChromePackage
impl LoadedChromePackage
Sourcepub fn chrome_executable(&self) -> &Path
pub fn chrome_executable(&self) -> &Path
Path to the cached Chrome browser executable.
Sourcepub fn chromedriver_executable(&self) -> &Path
pub fn chromedriver_executable(&self) -> &Path
Path to the cached ChromeDriver executable.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LoadedChromePackage
impl RefUnwindSafe for LoadedChromePackage
impl Send for LoadedChromePackage
impl Sync for LoadedChromePackage
impl Unpin for LoadedChromePackage
impl UnsafeUnpin for LoadedChromePackage
impl UnwindSafe for LoadedChromePackage
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