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

Method constructor

javascript/selenium-webdriver/io/exec.js:91–94  ·  view source on GitHub ↗

* @param {!Promise<!Result>} result The command result. * @param {function(string)} onKill The function to call when #kill() * is called.

(result, onKill)

Source from the content-addressed store, hash-verified

89 * is called.
90 */
91 constructor(result, onKill) {
92 COMMAND_RESULT.set(this, result)
93 KILL_HOOK.set(this, onKill)
94 }
95
96 /**
97 * @return {!Promise<!Result>} A promise for the result of this

Callers

nothing calls this directly

Calls 1

setMethod · 0.65

Tested by

no test coverage detected