MCPcopy Create free account
hub / github.com/SeleniumHQ/selenium / createSession

Method createSession

javascript/selenium-webdriver/edge.js:150–153  ·  view source on GitHub ↗

* Creates a new browser session for Microsoft's Edge browser. * * @param {(Capabilities|Options)=} opt_config The configuration options. * @param {remote.DriverService=} opt_serviceExecutor The service to use; will create * a new Legacy or Chromium service based on {@linkplain Option

(opt_config, opt_serviceExecutor)

Source from the content-addressed store, hash-verified

148 * @return {!Driver} A new driver instance.
149 */
150 static createSession(opt_config, opt_serviceExecutor) {
151 let caps = opt_config || new Options()
152 return /** @type {!Driver} */ (super.createSession(caps, opt_serviceExecutor, 'ms', EDGE_CAPABILITY_KEY))
153 }
154
155 /**
156 * returns new instance of edge driver service

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected