MCPcopy
hub / github.com/SeleniumHQ/selenium / execute

Method execute

javascript/selenium-webdriver/lib/webdriver.js:740–747  ·  view source on GitHub ↗

@override

(command)

Source from the content-addressed store, hash-verified

738
739 /** @override */
740 async execute(command) {
741 command.setParameter('sessionId', this.session_)
742
743 let parameters = await toWireValue(command.getParameters())
744 command.setParameters(parameters)
745 let value = await this.executor_.execute(command)
746 return fromWireValue(this, value)
747 }
748
749 /** @override */
750 setFileDetector(detector) {

Callers 15

quitMethod · 0.95
executeScriptMethod · 0.95
executeAsyncScriptMethod · 0.95
getWindowHandleMethod · 0.95
getAllWindowHandlesMethod · 0.95
getPageSourceMethod · 0.95
closeMethod · 0.95
getCurrentUrlMethod · 0.95
getTitleMethod · 0.95
findElementMethod · 0.95
findElementsMethod · 0.95
takeScreenshotMethod · 0.95

Calls 6

toWireValueFunction · 0.85
fromWireValueFunction · 0.85
setParameterMethod · 0.80
setParametersMethod · 0.80
executeMethod · 0.65
getParametersMethod · 0.45

Tested by

no test coverage detected