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

Method execute

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

@override

(command)

Source from the content-addressed store, hash-verified

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