Methods
(static) createSession(opt_configopt, opt_serviceExecutoropt) → (non-null) {Driver}
Creates a new session with the ChromeDriver.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
opt_config | Capabilities | | <optional> | The configuration options. |
opt_serviceExecutor | remote. | <optional> | Either a DriverService to use for the remote end, or a preconfigured executor for an externally managed endpoint. If neither is provided, the default service will be used by default. |
Returns:
A new driver instance.
- Type:
- Driver
(static) getDefaultService() → {remote.DriverService}
returns new instance chrome driver service
Returns:
- Type:
- remote.
DriverService