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

Method execute

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

@override

(command)

Source from the content-addressed store, hash-verified

748
749 /** @override */
750 async execute(command) {
751 command.setParameter('sessionId', this.session_)
752
753 let parameters = await toWireValue(command.getParameters())
754 command.setParameters(parameters)
755 let value = await this.executor_.execute(command)
756 return fromWireValue(this, value)
757 }
758
759 /** @override */
760 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