Public Vars

Back

boot-driver (clj)

(source)

function

(boot-driver type) (boot-driver type {:keys [host webdriver-url], :as opts})
Launch and return a driver of `type` (e.g. `:chrome`, `:firefox` `:safari` `:edge` `:phantom`) with `opts` options. - creates a driver - launches a WebDriver process (or connects to an existing running process if `:host` or `:webdriver-url` is specified) - creates a session for driver Defaults taken from [[defaults-global]] then [[defaults]] for `type`: `:port` - if `:host` not specified, port is randomly generated for local WebDriver process `:capabilities` - are deep merged as part of connect logic. `opts` map is optionally, see [Driver Options](/doc/01-user-guide.adoc#driver-options).

Examples