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

Function createExecutor

javascript/selenium-webdriver/firefox.js:462–467  ·  view source on GitHub ↗

* Creates a command executor with support for Marionette's custom commands. * @param {!Promise } serverUrl The server's URL. * @return {!command.Executor} The new command executor.

(serverUrl)

Source from the content-addressed store, hash-verified

460 * @return {!command.Executor} The new command executor.
461 */
462function createExecutor(serverUrl) {
463 let client = serverUrl.then((url) => new http.HttpClient(url))
464 let executor = new http.Executor(client)
465 configureExecutor(executor)
466 return executor
467}
468
469/**
470 * Configures the given executor with Firefox-specific commands.

Callers 1

createSessionMethod · 0.70

Calls 1

configureExecutorFunction · 0.70

Tested by

no test coverage detected