Trait Driver

Source
pub trait Driver {
    // Required method
    fn url(&self) -> &str;

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

WebDriver server that can create a session.

Required Methods§

Source

fn url(&self) -> &str

The url used to connect to this driver

Provided Methods§

Source

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

Start a session for this driver

Implementors§