* Creates a new session with the ChromeDriver. * * @param {(Capabilities|Options)=} opt_config The configuration options. * @param {(remote.DriverService|http.Executor)=} opt_serviceExecutor Either * a DriverService to use for the remote end, or a preconfigured executor * for
(opt_config, opt_serviceExecutor)
| 215 | * @return {!Driver} A new driver instance. |
| 216 | */ |
| 217 | static createSession(opt_config, opt_serviceExecutor) { |
| 218 | let caps = opt_config || new Options() |
| 219 | return /** @type {!Driver} */ (super.createSession(caps, opt_serviceExecutor, 'goog', CHROME_CAPABILITY_KEY)) |
| 220 | } |
| 221 | |
| 222 | /** |
| 223 | * returns new instance chrome driver service |
nothing calls this directly
no outgoing calls
no test coverage detected