pub trait WebdriverVerificationInfo {
    // Required method
    fn driver_capabilities(&self) -> Option<Capabilities>;

    // Provided methods
    fn verify_driver<'life0, 'life1, 'async_trait, P>(
        &'life0 self,
        driver_path: &'life1 P
    ) -> Pin<Box<dyn Future<Output = Result<(), VerificationError>> + Send + 'async_trait>>
       where P: 'async_trait + AsRef<Path> + Sync,
             Self: Sync + 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait { ... }
    fn test_client<'life0, 'async_trait>(
        client: &'life0 Client
    ) -> Pin<Box<dyn Future<Output = Result<(), VerificationError>> + Send + 'async_trait>>
       where 'life0: 'async_trait { ... }
}
Expand description

Provides information for verifying a webdriver.

Required Methods§

source

fn driver_capabilities(&self) -> Option<Capabilities>

Capabilities to use for verification. Some driver options such as browser path can be provided by capabilities.

Provided Methods§

source

fn verify_driver<'life0, 'life1, 'async_trait, P>( &'life0 self, driver_path: &'life1 P ) -> Pin<Box<dyn Future<Output = Result<(), VerificationError>> + 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.

source

fn test_client<'life0, 'async_trait>( client: &'life0 Client ) -> Pin<Box<dyn Future<Output = Result<(), VerificationError>> + Send + 'async_trait>>where 'life0: 'async_trait,

Implementors§