MCPcopy Index your code
hub / github.com/SeleniumHQ/selenium / setChromeService

Method setChromeService

javascript/selenium-webdriver/index.js:451–457  ·  view source on GitHub ↗

* Sets the service builder to use for managing the chromedriver child process * when creating new Chrome sessions. * * @param {chrome.ServiceBuilder} service the service to use. * @return {!Builder} A self reference.

(service)

Source from the content-addressed store, hash-verified

449 * @return {!Builder} A self reference.
450 */
451 setChromeService(service) {
452 if (service && !(service instanceof chrome.ServiceBuilder)) {
453 throw TypeError('not a chrome.ServiceBuilder object')
454 }
455 this.chromeService_ = service
456 return this
457 }
458
459 /**
460 * Sets Firefox specific {@linkplain firefox.Options options} for drivers

Callers 3

builderMethod · 0.95
logging.jsFile · 0.80
GetBrowserForTestsFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected