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§
Provided Methods§
Sourcefn session(self, params: &NewSessionCmd) -> Result<DriverSession, Error>where
Self: Sized + 'static,
fn session(self, params: &NewSessionCmd) -> Result<DriverSession, Error>where
Self: Sized + 'static,
Start a session for this driver