MCPcopy
hub / github.com/ampproject/amphtml / getDriver

Function getDriver

build-system/tasks/e2e/describes-e2e.js:643–645  ·  view source on GitHub ↗

* Get the driver for the configured engine. * @param {!DescribesConfigDef} describesConfig * @param {BrowserNameDef} browserName * @param {string|undefined} deviceName * @return {!WebDriver}

({headless = false}, browserName, deviceName)

Source from the content-addressed store, hash-verified

641 * @return {!WebDriver}
642 */
643function getDriver({headless = false}, browserName, deviceName) {
644 return createSelenium(browserName, {headless}, deviceName);
645}
646
647/**
648 * @param {{

Callers 1

setupMethod · 0.85

Calls 1

createSeleniumFunction · 0.85

Tested by

no test coverage detected