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

Method execute

packages/universal-xml-plugin/lib/plugin.ts:30–37  ·  view source on GitHub ↗

* Handles the plugin's execute methods (`universalXml: setEnabled`, `universalXml: isEnabled`) * and passes any other script on to the next handler.

(
    next: NextPluginCallback,
    driver: ExternalDriver,
    script: string,
    args: readonly unknown[],
  )

Source from the content-addressed store, hash-verified

28 * and passes any other script on to the next handler.
29 */
30 async execute(
31 next: NextPluginCallback,
32 driver: ExternalDriver,
33 script: string,
34 args: readonly unknown[],
35 ): Promise<unknown> {
36 return await this.executeMethod(next, driver, script, args);
37 }
38
39 /**
40 * Turns translation on or off for the current session. While it's off, page source and

Callers

nothing calls this directly

Calls 1

executeMethodMethod · 0.65

Tested by

no test coverage detected