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

Function createExecutor

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

364 * @return {!command.Executor} The new command executor.
365 */
366function createExecutor(serverUrl) {
367 let client = serverUrl.then((url) => new http.HttpClient(url))
368 let executor = new http.Executor(client)
369 executor[Symbols.localDriverService] = true
370 configureExecutor(executor)
371 return executor
372}
373
374/**
375 * Configures the given executor with Firefox-specific commands.

Callers 1

createSessionMethod · 0.70

Calls 1

configureExecutorFunction · 0.70

Tested by

no test coverage detected