Struct webdriver_downloader::ChromedriverInfo
source · pub struct ChromedriverInfo { /* private fields */ }
Expand description
Information required to implement WebdriverInfo for Chromedriver.
Implementations§
Trait Implementations§
source§impl WebdriverInstallationInfo for ChromedriverInfo
impl WebdriverInstallationInfo for ChromedriverInfo
source§fn driver_install_path(&self) -> &Path
fn driver_install_path(&self) -> &Path
Path to install driver.
source§fn driver_name_in_archive(&self) -> &'static str
fn driver_name_in_archive(&self) -> &'static str
Driver executable name in archive file.
source§fn download_in_tempdir<'life0, 'life1, 'async_trait, U>(
&'life0 self,
url: U,
dir: &'life1 TempDir
) -> Pin<Box<dyn Future<Output = Result<PathBuf>> + Send + 'async_trait>>where
U: 'async_trait + IntoUrl + Send,
Self: Sync + 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn download_in_tempdir<'life0, 'life1, 'async_trait, U>( &'life0 self, url: U, dir: &'life1 TempDir ) -> Pin<Box<dyn Future<Output = Result<PathBuf>> + Send + 'async_trait>>where U: 'async_trait + IntoUrl + Send, Self: Sync + 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,
Downloads url and extracts the driver inside tempdir.
source§impl WebdriverVerificationInfo for ChromedriverInfo
impl WebdriverVerificationInfo for ChromedriverInfo
source§fn driver_capabilities(&self) -> Option<Capabilities>
fn driver_capabilities(&self) -> Option<Capabilities>
Capabilities to use for verification.
Some driver options such as browser path can be provided by capabilities.
source§fn verify_driver<'life0, 'life1, 'async_trait, P>(
&'life0 self,
driver_path: &'life1 P
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
P: 'async_trait + AsRef<Path> + Sync,
Self: Sync + 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn verify_driver<'life0, 'life1, 'async_trait, P>( &'life0 self, driver_path: &'life1 P ) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where P: 'async_trait + AsRef<Path> + Sync, Self: Sync + 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,
Verifies driver using test_client.