[][src]Trait webdriver_client::Driver

pub trait Driver {
    fn url(&self) -> &str;

    fn session(self, params: &NewSessionCmd) -> Result<DriverSession, Error>
    where
        Self: Sized + 'static
, { ... } }

WebDriver server that can create a session.

Required methods

fn url(&self) -> &str

The url used to connect to this driver

Loading content...

Provided methods

fn session(self, params: &NewSessionCmd) -> Result<DriverSession, Error> where
    Self: Sized + 'static, 

Start a session for this driver

Loading content...

Implementors

impl Driver for ChromeDriver[src]

impl Driver for GeckoDriver[src]

impl Driver for HttpDriver[src]

Loading content...