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

Function createExecutor

javascript/selenium-webdriver/firefox.js:461–466  ·  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

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

Callers 1

createSessionMethod · 0.70

Calls 1

configureExecutorFunction · 0.70

Tested by

no test coverage detected