MCPcopy Create free account
hub / github.com/appium/appium / executeMethod

Method executeMethod

packages/types/lib/commands/basedriver.ts:140–140  ·  view source on GitHub ↗

* Call an `Execute Method` by its name with the given arguments. This method will check that the * driver has registered the method matching the name, and send it the arguments. * * @param script - the name of the Execute Method * @param args - a singleton array containing an arguments o

(
    script: string,
    args: TArgs,
  )

Source from the content-addressed store, hash-verified

138 * @returns The result of calling the Execute Method
139 */
140 executeMethod<TArgs extends readonly any[] | readonly [StringRecord<unknown>] = unknown[], TReturn = unknown>(
141 script: string,
142 args: TArgs,
143 ): Promise<TReturn>;

Callers 3

executeFunction · 0.65
executeMethod · 0.65
executeMethod · 0.65

Implementers 1

BasePluginpackages/base-plugin/lib/plugin.ts

Calls

no outgoing calls

Tested by

no test coverage detected