@appium/execute-driver-plugin 3.0.6 → 3.0.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -10,24 +10,7 @@ export default class ExecuteDriverPlugin extends BasePlugin {
10
10
  };
11
11
  };
12
12
  };
13
- /**
14
- * This method takes a string which is executed as javascript in the context of
15
- * a new nodejs VM, and which has available a webdriverio driver object, having
16
- * already been attached to the currently running session.
17
- *
18
- * @param {import('@appium/types').NextPluginCallback} next - standard behaviour for executeDriverScript
19
- * @param {import('@appium/types').ExternalDriver} driver - Appium driver handling this command
20
- * @param {string} script - the string representing the driver script to run
21
- * @param {string} [scriptType='webdriverio'] - the name of the driver script
22
- * library (currently only webdriverio is supported)
23
- * @param {number} [timeoutMs=3600000] - timeout for the script process
24
- *
25
- * @returns {Promise<any>} - a JSONifiable object representing the return value of
26
- * the script
27
- * @type {import('@appium/types').PluginCommand<[script: string, scriptType: string?, timeoutMs: number?], any>}
28
- * @throws {Error}
29
- */
30
- executeDriverScript(next: import('@appium/types').NextPluginCallback, driver: import('@appium/types').ExternalDriver, script: string, scriptType?: string | undefined, timeoutMs?: number | undefined): Promise<any>;
13
+ executeDriverScript(next: import("@appium/types").NextPluginCallback, driver: [script: string, scriptType: string | undefined, timeoutMs: number | undefined], ...args: any): Promise<any>;
31
14
  }
32
15
  import { BasePlugin } from "@appium/base-plugin";
33
16
  //# sourceMappingURL=plugin.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"plugin.d.ts","sourceRoot":"","sources":["../../lib/plugin.js"],"names":[],"mappings":"AAUA;IACE;;;;;;;;;;MAOG;IAEH;;;;;;;;;;;;;;;;OAgBG;IACH,0BAZW,OAAO,eAAe,EAAE,kBAAkB,UAC1C,OAAO,eAAe,EAAE,cAAc,UACtC,MAAM,oEAKJ,QAAQ,GAAG,CAAC,CA6HxB;CACF"}
1
+ {"version":3,"file":"plugin.d.ts","sourceRoot":"","sources":["../../lib/plugin.js"],"names":[],"mappings":"AAUA;IACE;;;;;;;;;;MAOG;IAkEE,2LACW;CAyEjB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@appium/execute-driver-plugin",
3
- "version": "3.0.6",
3
+ "version": "3.0.7",
4
4
  "description": "Plugin for batching and executing driver commands with Appiums",
5
5
  "keywords": [
6
6
  "automation",
@@ -43,7 +43,7 @@
43
43
  "lodash": "4.17.21",
44
44
  "source-map-support": "0.5.21",
45
45
  "vm2": "3.9.14",
46
- "webdriverio": "7.30.0"
46
+ "webdriverio": "7.30.1"
47
47
  },
48
48
  "peerDependencies": {
49
49
  "appium": "^2.0.0-beta.35"
@@ -59,7 +59,7 @@
59
59
  "pluginName": "execute-driver",
60
60
  "mainClass": "ExecuteDriverPlugin"
61
61
  },
62
- "gitHead": "322363b8876a7ea7b630d538e22965f7bab0ea06",
62
+ "gitHead": "7b4935632222123a4fa7422461f6312f1f0dfbe4",
63
63
  "typedoc": {
64
64
  "entryPoint": "./lib/plugin.js"
65
65
  }