MCPcopy Index your code
hub / github.com/SeleniumHQ/selenium / execute

Method execute

javascript/selenium-webdriver/test/remote_test.js:84–88  ·  view source on GitHub ↗
(command)

Source from the content-addressed store, hash-verified

82 .handleFile(
83 new (class FakeDriver {
84 execute(command) {
85 assert.strictEqual(command.getName(), cmd.Name.UPLOAD_FILE)
86 assert.strictEqual(typeof command.getParameters()['file'], 'string')
87 return Promise.resolve('success!')
88 }
89 })(),
90 theFile,
91 )

Callers

nothing calls this directly

Calls 2

getNameMethod · 0.65
getParametersMethod · 0.45

Tested by

no test coverage detected