appium-mac2-driver 1.17.3 → 1.17.5
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.
- package/CHANGELOG.md +14 -0
- package/build/lib/commands/app-management.d.ts +3 -3
- package/build/lib/commands/app-management.d.ts.map +1 -1
- package/build/lib/commands/app-management.js +4 -5
- package/build/lib/commands/app-management.js.map +1 -1
- package/build/lib/commands/applescript.d.ts +2 -2
- package/build/lib/commands/applescript.d.ts.map +1 -1
- package/build/lib/commands/applescript.js +1 -2
- package/build/lib/commands/applescript.js.map +1 -1
- package/build/lib/commands/execute.d.ts +1 -1
- package/build/lib/commands/execute.d.ts.map +1 -1
- package/build/lib/commands/execute.js +2 -3
- package/build/lib/commands/execute.js.map +1 -1
- package/build/lib/commands/find.d.ts +1 -1
- package/build/lib/commands/find.d.ts.map +1 -1
- package/build/lib/commands/find.js +1 -2
- package/build/lib/commands/find.js.map +1 -1
- package/build/lib/commands/gestures.d.ts +16 -16
- package/build/lib/commands/gestures.js +15 -16
- package/build/lib/commands/gestures.js.map +1 -1
- package/build/lib/commands/navigation.d.ts +2 -2
- package/build/lib/commands/navigation.d.ts.map +1 -1
- package/build/lib/commands/navigation.js +1 -2
- package/build/lib/commands/navigation.js.map +1 -1
- package/build/lib/commands/record-screen.d.ts +3 -3
- package/build/lib/commands/record-screen.d.ts.map +1 -1
- package/build/lib/commands/record-screen.js +2 -3
- package/build/lib/commands/record-screen.js.map +1 -1
- package/build/lib/commands/screenshots.d.ts +2 -2
- package/build/lib/commands/screenshots.d.ts.map +1 -1
- package/build/lib/commands/screenshots.js +1 -2
- package/build/lib/commands/screenshots.js.map +1 -1
- package/build/lib/commands/source.d.ts +1 -1
- package/build/lib/commands/source.d.ts.map +1 -1
- package/build/lib/commands/source.js +1 -2
- package/build/lib/commands/source.js.map +1 -1
- package/build/lib/doctor/utils.d.ts.map +1 -1
- package/build/lib/doctor/utils.js +1 -2
- package/build/lib/doctor/utils.js.map +1 -1
- package/build/lib/driver.d.ts +1 -1
- package/build/lib/utils.d.ts.map +1 -1
- package/build/lib/utils.js +2 -2
- package/build/lib/utils.js.map +1 -1
- package/npm-shrinkwrap.json +175 -471
- package/package.json +3 -8
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
## [1.17.5](https://github.com/appium/appium-mac2-driver/compare/v1.17.4...v1.17.5) (2024-07-09)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Miscellaneous Chores
|
|
5
|
+
|
|
6
|
+
* Remove extra import ([62f887b](https://github.com/appium/appium-mac2-driver/commit/62f887b30f086f1a5df6bf1168ba223d72dd3287))
|
|
7
|
+
|
|
8
|
+
## [1.17.4](https://github.com/appium/appium-mac2-driver/compare/v1.17.3...v1.17.4) (2024-06-23)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Miscellaneous Chores
|
|
12
|
+
|
|
13
|
+
* Bump chai and chai-as-promised ([#303](https://github.com/appium/appium-mac2-driver/issues/303)) ([e4090eb](https://github.com/appium/appium-mac2-driver/commit/e4090eb01d8a93acfc557fcdd4a8862659a9bcf5))
|
|
14
|
+
|
|
1
15
|
## [1.17.3](https://github.com/appium/appium-mac2-driver/compare/v1.17.2...v1.17.3) (2024-05-16)
|
|
2
16
|
|
|
3
17
|
|
|
@@ -24,7 +24,7 @@ export function macosActivateApp(this: import("../driver").Mac2Driver, opts?: im
|
|
|
24
24
|
* @returns {Promise<boolean>} `true` if the app was running and has been successfully terminated.
|
|
25
25
|
* `false` if the app was not running before.
|
|
26
26
|
*/
|
|
27
|
-
export function macosTerminateApp(this: import("../driver").Mac2Driver, opts: import(
|
|
27
|
+
export function macosTerminateApp(this: import("../driver").Mac2Driver, opts: import("../types").TerminateAppOptions): Promise<boolean>;
|
|
28
28
|
/**
|
|
29
29
|
* Query an app state with given bundle identifier. An exception is thrown if the
|
|
30
30
|
* app cannot be found.
|
|
@@ -35,6 +35,6 @@ export function macosTerminateApp(this: import("../driver").Mac2Driver, opts: im
|
|
|
35
35
|
* https://developer.apple.com/documentation/xctest/xcuiapplicationstate?language=objc
|
|
36
36
|
* for more details
|
|
37
37
|
*/
|
|
38
|
-
export function macosQueryAppState(this: import("../driver").Mac2Driver, opts: import(
|
|
39
|
-
export type Mac2Driver = import(
|
|
38
|
+
export function macosQueryAppState(this: import("../driver").Mac2Driver, opts: import("../types").QueryAppStateOptions): Promise<number>;
|
|
39
|
+
export type Mac2Driver = import("../driver").Mac2Driver;
|
|
40
40
|
//# sourceMappingURL=app-management.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app-management.d.ts","sourceRoot":"","sources":["../../../lib/commands/app-management.js"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,+IAQC;AAED;;;;;;GAMG;AACH,mJAGC;AAED;;;;;;;;GAQG;AACH,8EAJW,OAAO,UAAU,EAAE,mBAAmB,GACpC,
|
|
1
|
+
{"version":3,"file":"app-management.d.ts","sourceRoot":"","sources":["../../../lib/commands/app-management.js"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,+IAQC;AAED;;;;;;GAMG;AACH,mJAGC;AAED;;;;;;;;GAQG;AACH,8EAJW,OAAO,UAAU,EAAE,mBAAmB,GACpC,OAAO,CAAC,OAAO,CAAC,CAQ5B;AAED;;;;;;;;;GASG;AACH,+EALW,OAAO,UAAU,EAAE,oBAAoB,GACrC,OAAO,CAAC,MAAM,CAAC,CAS3B;yBAGY,OAAO,WAAW,EAAE,UAAU"}
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.macosLaunchApp = macosLaunchApp;
|
|
4
|
+
exports.macosActivateApp = macosActivateApp;
|
|
5
|
+
exports.macosTerminateApp = macosTerminateApp;
|
|
6
|
+
exports.macosQueryAppState = macosQueryAppState;
|
|
4
7
|
/**
|
|
5
8
|
* Start an app with given bundle identifier or activates it
|
|
6
9
|
* if the app is already running. An exception is thrown if the
|
|
@@ -18,7 +21,6 @@ async function macosLaunchApp(opts = {}) {
|
|
|
18
21
|
path,
|
|
19
22
|
});
|
|
20
23
|
}
|
|
21
|
-
exports.macosLaunchApp = macosLaunchApp;
|
|
22
24
|
;
|
|
23
25
|
/**
|
|
24
26
|
* Activate an app with given bundle identifier. An exception is thrown if the
|
|
@@ -31,7 +33,6 @@ async function macosActivateApp(opts = {}) {
|
|
|
31
33
|
const { bundleId, path } = opts;
|
|
32
34
|
return await this.wda.proxy.command('/wda/apps/activate', 'POST', { bundleId, path });
|
|
33
35
|
}
|
|
34
|
-
exports.macosActivateApp = macosActivateApp;
|
|
35
36
|
;
|
|
36
37
|
/**
|
|
37
38
|
* Terminate an app with given bundle identifier. An exception is thrown if the
|
|
@@ -46,7 +47,6 @@ async function macosTerminateApp(opts) {
|
|
|
46
47
|
const { bundleId, path } = opts ?? {};
|
|
47
48
|
return /** @type {boolean} */ (await this.wda.proxy.command('/wda/apps/terminate', 'POST', { bundleId, path }));
|
|
48
49
|
}
|
|
49
|
-
exports.macosTerminateApp = macosTerminateApp;
|
|
50
50
|
;
|
|
51
51
|
/**
|
|
52
52
|
* Query an app state with given bundle identifier. An exception is thrown if the
|
|
@@ -62,7 +62,6 @@ async function macosQueryAppState(opts) {
|
|
|
62
62
|
const { bundleId, path } = opts ?? {};
|
|
63
63
|
return /** @type {number} */ (await this.wda.proxy.command('/wda/apps/state', 'POST', { bundleId, path }));
|
|
64
64
|
}
|
|
65
|
-
exports.macosQueryAppState = macosQueryAppState;
|
|
66
65
|
;
|
|
67
66
|
/**
|
|
68
67
|
* @typedef {import('../driver').Mac2Driver} Mac2Driver
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app-management.js","sourceRoot":"","sources":["../../../lib/commands/app-management.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"app-management.js","sourceRoot":"","sources":["../../../lib/commands/app-management.js"],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OAAO,CAAC,iBAAiB,EAAE,MAAM,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC,CAC5E,CAAC;AACJ,CAAC;AAAA,CAAC;AAEF;;GAEG"}
|
|
@@ -15,6 +15,6 @@
|
|
|
15
15
|
* @throws {Error} If the exit code of the given command/script is not zero.
|
|
16
16
|
* The actual stderr output is set to the error message value.
|
|
17
17
|
*/
|
|
18
|
-
export function macosExecAppleScript(this: import("../driver").Mac2Driver, opts?: import(
|
|
19
|
-
export type Mac2Driver = import(
|
|
18
|
+
export function macosExecAppleScript(this: import("../driver").Mac2Driver, opts?: import("../types").ExecAppleScriptOptions): Promise<string>;
|
|
19
|
+
export type Mac2Driver = import("../driver").Mac2Driver;
|
|
20
20
|
//# sourceMappingURL=applescript.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"applescript.d.ts","sourceRoot":"","sources":["../../../lib/commands/applescript.js"],"names":[],"mappings":"AAOA;;;;;;;;;;;;;;;;GAgBG;AACH,kFALW,OAAO,UAAU,EAAE,sBAAsB,GACvC,
|
|
1
|
+
{"version":3,"file":"applescript.d.ts","sourceRoot":"","sources":["../../../lib/commands/applescript.js"],"names":[],"mappings":"AAOA;;;;;;;;;;;;;;;;GAgBG;AACH,kFALW,OAAO,UAAU,EAAE,sBAAsB,GACvC,OAAO,CAAC,MAAM,CAAC,CAiD3B;yBAGY,OAAO,WAAW,EAAE,UAAU"}
|
|
@@ -3,7 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.macosExecAppleScript =
|
|
6
|
+
exports.macosExecAppleScript = macosExecAppleScript;
|
|
7
7
|
const support_1 = require("appium/support");
|
|
8
8
|
const teen_process_1 = require("teen_process");
|
|
9
9
|
const path_1 = __importDefault(require("path"));
|
|
@@ -67,7 +67,6 @@ async function macosExecAppleScript(opts = {}) {
|
|
|
67
67
|
}
|
|
68
68
|
}
|
|
69
69
|
}
|
|
70
|
-
exports.macosExecAppleScript = macosExecAppleScript;
|
|
71
70
|
;
|
|
72
71
|
/**
|
|
73
72
|
* @typedef {import('../driver').Mac2Driver} Mac2Driver
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"applescript.js","sourceRoot":"","sources":["../../../lib/commands/applescript.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"applescript.js","sourceRoot":"","sources":["../../../lib/commands/applescript.js"],"names":[],"mappings":";;;;;AAwBA,oDA6CC;AArED,4CAAmD;AACnD,+CAAoC;AACpC,gDAAwB;AAExB,MAAM,SAAS,GAAG,WAAW,CAAC;AAC9B,MAAM,oBAAoB,GAAG,cAAc,CAAC;AAE5C;;;;;;;;;;;;;;;;GAgBG;AACI,KAAK,UAAU,oBAAoB,CAAE,IAAI,GAAG,EAAE;IACnD,IAAI,CAAC,oBAAoB,CAAC,oBAAoB,CAAC,CAAC;IAEhD,MAAM,EACJ,MAAM,EACN,QAAQ,EACR,OAAO,EACP,GAAG,EACH,OAAO,GACR,GAAG,IAAI,CAAC;IACT,IAAI,CAAC,MAAM,IAAI,CAAC,OAAO,EAAE,CAAC;QACxB,IAAI,CAAC,GAAG,CAAC,aAAa,CAAC,8CAA8C,CAAC,CAAC;IACzE,CAAC;IACD,IAAI,IAAI,CAAC,IAAI,CAAC,qBAAqB,CAAA,CAAC,OAAO,CAAC,CAAC,EAAE,CAAC;QAC9C,IAAI,CAAC,GAAG,CAAC,aAAa,CAAC,iDAAiD,CAAC,CAAC;IAC5E,CAAC;IACD,uCAAuC;IACvC,MAAM,eAAe,GAAG,CAAC,OAAO,CAAC;IAEjC,MAAM,IAAI,GAAG,EAAE,CAAC;IAChB,IAAI,QAAQ,EAAE,CAAC;QACb,IAAI,CAAC,IAAI,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;IAC5B,CAAC;IACD,IAAI,OAAO,CAAC;IACZ,IAAI,CAAC;QACH,IAAI,eAAe,EAAE,CAAC;YACpB,OAAO,GAAG,MAAM,iBAAO,CAAC,OAAO,EAAE,CAAC;YAClC,MAAM,aAAa,GAAG,cAAI,CAAC,OAAO,CAAC,OAAO,EAAE,oBAAoB,CAAC,CAAC;YAClE,MAAM,YAAE,CAAC,SAAS,CAAC,aAAa,EAAE,qBAAqB,CAAA,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC,CAAC;YACzE,IAAI,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC;QAC3B,CAAC;aAAM,CAAC;YACN,IAAI,CAAC,IAAI,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC;QAC3B,CAAC;QACD,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,WAAW,SAAS,oBAAoB,cAAI,CAAC,KAAK,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;QAC1E,IAAI,CAAC;YACH,MAAM,EAAC,MAAM,EAAC,GAAG,MAAM,IAAA,mBAAI,EAAC,SAAS,EAAE,IAAI,EAAE,EAAC,GAAG,EAAE,OAAO,EAAC,CAAC,CAAC;YAC7D,OAAO,MAAM,CAAC;QAChB,CAAC;QAAC,OAAO,CAAC,EAAE,CAAC;YACX,MAAM,IAAI,KAAK,CAAC,CAAC,CAAC,MAAM,IAAI,CAAC,CAAC,OAAO,CAAC,CAAC;QACzC,CAAC;IACH,CAAC;YAAS,CAAC;QACT,IAAI,OAAO,EAAE,CAAC;YACZ,MAAM,YAAE,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;QAC3B,CAAC;IACH,CAAC;AACH,CAAC;AAAA,CAAC;AAEF;;GAEG"}
|
|
@@ -14,5 +14,5 @@ export function execute(this: import("../driver").Mac2Driver, script: string, ar
|
|
|
14
14
|
* @returns {Promise<any>}
|
|
15
15
|
*/
|
|
16
16
|
export function executeMacosCommand(this: import("../driver").Mac2Driver, command: string, opts?: import("@appium/types").StringRecord<any> | undefined): Promise<any>;
|
|
17
|
-
export type Mac2Driver = import(
|
|
17
|
+
export type Mac2Driver = import("../driver").Mac2Driver;
|
|
18
18
|
//# sourceMappingURL=execute.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"execute.d.ts","sourceRoot":"","sources":["../../../lib/commands/execute.js"],"names":[],"mappings":"AAsCA;;;;;;GAMG;AACH,sEAJW,MAAM,yEAEJ,
|
|
1
|
+
{"version":3,"file":"execute.d.ts","sourceRoot":"","sources":["../../../lib/commands/execute.js"],"names":[],"mappings":"AAsCA;;;;;;GAMG;AACH,sEAJW,MAAM,yEAEJ,OAAO,CAAC,GAAG,CAAC,CASxB;AAED;;;;;;GAMG;AACH,mFAJW,MAAM,iEAEJ,OAAO,CAAC,GAAG,CAAC,CAQxB;yBAGY,OAAO,WAAW,EAAE,UAAU"}
|
|
@@ -3,7 +3,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.
|
|
6
|
+
exports.execute = execute;
|
|
7
|
+
exports.executeMacosCommand = executeMacosCommand;
|
|
7
8
|
const lodash_1 = __importDefault(require("lodash"));
|
|
8
9
|
const driver_1 = require("appium/driver");
|
|
9
10
|
const EXTENSION_COMMANDS_MAPPING = {
|
|
@@ -48,7 +49,6 @@ async function execute(script, args) {
|
|
|
48
49
|
}
|
|
49
50
|
throw new driver_1.errors.NotImplementedError();
|
|
50
51
|
}
|
|
51
|
-
exports.execute = execute;
|
|
52
52
|
;
|
|
53
53
|
/**
|
|
54
54
|
*
|
|
@@ -64,7 +64,6 @@ async function executeMacosCommand(command, opts = {}) {
|
|
|
64
64
|
}
|
|
65
65
|
return await this[ /** @type {string} */(EXTENSION_COMMANDS_MAPPING[command])](opts);
|
|
66
66
|
}
|
|
67
|
-
exports.executeMacosCommand = executeMacosCommand;
|
|
68
67
|
;
|
|
69
68
|
/**
|
|
70
69
|
* @typedef {import('../driver').Mac2Driver} Mac2Driver
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"execute.js","sourceRoot":"","sources":["../../../lib/commands/execute.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"execute.js","sourceRoot":"","sources":["../../../lib/commands/execute.js"],"names":[],"mappings":";;;;;AA6CA,0BAOC;AASD,kDAMC;AAnED,oDAAuB;AACvB,0CAAuC;AAEvC,MAAM,0BAA0B,GAAG;IACjC,QAAQ,EAAE,eAAe;IACzB,KAAK,EAAE,YAAY;IACnB,MAAM,EAAE,aAAa;IACrB,KAAK,EAAE,YAAY;IACnB,UAAU,EAAE,iBAAiB;IAC7B,KAAK,EAAE,YAAY;IACnB,WAAW,EAAE,kBAAkB;IAC/B,YAAY,EAAE,mBAAmB;IACjC,mBAAmB,EAAE,0BAA0B;IAC/C,IAAI,EAAE,WAAW;IAEjB,GAAG,EAAE,UAAU;IACf,SAAS,EAAE,gBAAgB;IAC3B,KAAK,EAAE,YAAY;IACnB,YAAY,EAAE,mBAAmB;IACjC,mBAAmB,EAAE,0BAA0B;IAE/C,MAAM,EAAE,aAAa;IAErB,SAAS,EAAE,gBAAgB;IAC3B,WAAW,EAAE,kBAAkB;IAC/B,YAAY,EAAE,mBAAmB;IACjC,aAAa,EAAE,oBAAoB;IAEnC,WAAW,EAAE,sBAAsB;IAEnC,oBAAoB,EAAE,sBAAsB;IAC5C,mBAAmB,EAAE,qBAAqB;IAE1C,WAAW,EAAE,kBAAkB;IAE/B,QAAQ,EAAE,eAAe;CAC1B,CAAC;AAEF;;;;;;GAMG;AACI,KAAK,UAAU,OAAO,CAAE,MAAM,EAAE,IAAI;IACzC,IAAI,MAAM,CAAC,KAAK,CAAC,SAAS,CAAC,EAAE,CAAC;QAC5B,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,gCAAgC,MAAM,GAAG,CAAC,CAAC;QACzD,MAAM,GAAG,MAAM,CAAC,OAAO,CAAC,SAAS,EAAE,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC;QAC9C,OAAO,MAAM,IAAI,CAAC,mBAAmB,CAAC,MAAM,EAAE,gBAAC,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC;IAClF,CAAC;IACD,MAAM,IAAI,eAAM,CAAC,mBAAmB,EAAE,CAAC;AACzC,CAAC;AAAA,CAAC;AAEF;;;;;;GAMG;AACI,KAAK,UAAU,mBAAmB,CAAE,OAAO,EAAE,IAAI,GAAG,EAAE;IAC3D,IAAI,CAAC,gBAAC,CAAC,GAAG,CAAC,0BAA0B,EAAE,OAAO,CAAC,EAAE,CAAC;QAChD,MAAM,IAAI,eAAM,CAAC,mBAAmB,CAAC,8BAA8B,OAAO,KAAK;YAC7E,QAAQ,gBAAC,CAAC,IAAI,CAAC,0BAA0B,CAAC,0BAA0B,CAAC,CAAC;IAC1E,CAAC;IACD,OAAO,MAAM,IAAI,EAAC,qBAAsB,CAAC,0BAA0B,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC;AACvF,CAAC;AAAA,CAAC;AAEF;;GAEG"}
|
|
@@ -9,5 +9,5 @@
|
|
|
9
9
|
* @returns {Promise<any>}
|
|
10
10
|
*/
|
|
11
11
|
export function findElOrEls(this: import("../driver").Mac2Driver, strategy: string, selector: string, mult: boolean, context?: string | undefined): Promise<any>;
|
|
12
|
-
export type Mac2Driver = import(
|
|
12
|
+
export type Mac2Driver = import("../driver").Mac2Driver;
|
|
13
13
|
//# sourceMappingURL=find.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"find.d.ts","sourceRoot":"","sources":["../../../lib/commands/find.js"],"names":[],"mappings":"AAEA;;;;;;;;;GASG;AACH,4EANW,MAAM,YACN,MAAM,QACN,OAAO,iCAEL,
|
|
1
|
+
{"version":3,"file":"find.d.ts","sourceRoot":"","sources":["../../../lib/commands/find.js"],"names":[],"mappings":"AAEA;;;;;;;;;GASG;AACH,4EANW,MAAM,YACN,MAAM,QACN,OAAO,iCAEL,OAAO,CAAC,GAAG,CAAC,CAgBxB;yBAGY,OAAO,WAAW,EAAE,UAAU"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.findElOrEls =
|
|
3
|
+
exports.findElOrEls = findElOrEls;
|
|
4
4
|
const support_1 = require("appium/support");
|
|
5
5
|
/**
|
|
6
6
|
* This is needed to make lookup by image working
|
|
@@ -26,7 +26,6 @@ async function findElOrEls(strategy, selector, mult, context) {
|
|
|
26
26
|
value: selector,
|
|
27
27
|
});
|
|
28
28
|
}
|
|
29
|
-
exports.findElOrEls = findElOrEls;
|
|
30
29
|
;
|
|
31
30
|
/**
|
|
32
31
|
* @typedef {import('../driver').Mac2Driver} Mac2Driver
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"find.js","sourceRoot":"","sources":["../../../lib/commands/find.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"find.js","sourceRoot":"","sources":["../../../lib/commands/find.js"],"names":[],"mappings":";;AAYA,kCAcC;AA1BD,4CAAsC;AAEtC;;;;;;;;;GASG;AACI,KAAK,UAAU,WAAW,CAAE,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO;IAClE,MAAM,SAAS,GAAG,OAAO,CAAC,CAAC,CAAC,cAAI,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC;IAClE,MAAM,QAAQ,GAAG,WAAW,SAAS,CAAC,CAAC,CAAC,IAAI,SAAS,UAAU,CAAC,CAAC,CAAC,EAAE,GAAG,IAAI,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC;IAEzF,IAAI,QAAQ,KAAK,uBAAuB,EAAE,CAAC;QACzC,QAAQ,GAAG,kBAAkB,CAAC;IAChC,CAAC;SAAM,IAAI,QAAQ,KAAK,kBAAkB,EAAE,CAAC;QAC3C,QAAQ,GAAG,aAAa,CAAC;IAC3B,CAAC;IAED,OAAO,MAAM,IAAI,CAAC,GAAG,CAAC,KAAK,CAAC,OAAO,CAAC,QAAQ,EAAE,MAAM,EAAE;QACpD,KAAK,EAAE,QAAQ;QACf,KAAK,EAAE,QAAQ;KAChB,CAAC,CAAC;AACL,CAAC;AAAA,CAAC;AAEF;;GAEG"}
|
|
@@ -4,104 +4,104 @@
|
|
|
4
4
|
* @this {Mac2Driver}
|
|
5
5
|
* @param {import('../types').SetValueOptions} opts
|
|
6
6
|
*/
|
|
7
|
-
export function macosSetValue(this: import("../driver").Mac2Driver, opts: import(
|
|
7
|
+
export function macosSetValue(this: import("../driver").Mac2Driver, opts: import("../types").SetValueOptions): Promise<unknown>;
|
|
8
8
|
/**
|
|
9
9
|
* Perform click gesture on an element or by relative/absolute coordinates
|
|
10
10
|
*
|
|
11
11
|
* @this {Mac2Driver}
|
|
12
12
|
* @param {import('../types').ClickOptions} opts
|
|
13
13
|
*/
|
|
14
|
-
export function macosClick(this: import("../driver").Mac2Driver, opts?: import(
|
|
14
|
+
export function macosClick(this: import("../driver").Mac2Driver, opts?: import("../types").ClickOptions): Promise<unknown>;
|
|
15
15
|
/**
|
|
16
16
|
* Perform scroll gesture on an element or by relative/absolute coordinates
|
|
17
17
|
*
|
|
18
18
|
* @this {Mac2Driver}
|
|
19
19
|
* @param {import('../types').ScrollOptions} opts
|
|
20
20
|
*/
|
|
21
|
-
export function macosScroll(this: import("../driver").Mac2Driver, opts?: import(
|
|
21
|
+
export function macosScroll(this: import("../driver").Mac2Driver, opts?: import("../types").ScrollOptions): Promise<unknown>;
|
|
22
22
|
/**
|
|
23
23
|
* Perform swipe gesture on an element
|
|
24
24
|
*
|
|
25
25
|
* @this {Mac2Driver}
|
|
26
26
|
* @param {import('../types').SwipeOptions} opts
|
|
27
27
|
*/
|
|
28
|
-
export function macosSwipe(this: import("../driver").Mac2Driver, opts: import(
|
|
28
|
+
export function macosSwipe(this: import("../driver").Mac2Driver, opts: import("../types").SwipeOptions): Promise<unknown>;
|
|
29
29
|
/**
|
|
30
30
|
* Perform right click gesture on an element or by relative/absolute coordinates
|
|
31
31
|
*
|
|
32
32
|
* @this {Mac2Driver}
|
|
33
33
|
* @param {import('../types').RightClickOptions} opts
|
|
34
34
|
*/
|
|
35
|
-
export function macosRightClick(this: import("../driver").Mac2Driver, opts?: import(
|
|
35
|
+
export function macosRightClick(this: import("../driver").Mac2Driver, opts?: import("../types").RightClickOptions): Promise<unknown>;
|
|
36
36
|
/**
|
|
37
37
|
* Perform hover gesture on an element or by relative/absolute coordinates
|
|
38
38
|
*
|
|
39
39
|
* @this {Mac2Driver}
|
|
40
40
|
* @param {import('../types').HoverOptions} opts
|
|
41
41
|
*/
|
|
42
|
-
export function macosHover(this: import("../driver").Mac2Driver, opts?: import(
|
|
42
|
+
export function macosHover(this: import("../driver").Mac2Driver, opts?: import("../types").HoverOptions): Promise<unknown>;
|
|
43
43
|
/**
|
|
44
44
|
* Perform double click gesture on an element or by relative/absolute coordinates
|
|
45
45
|
*
|
|
46
46
|
* @this {Mac2Driver}
|
|
47
47
|
* @param {import('../types').DoubleClickOptions} opts
|
|
48
48
|
*/
|
|
49
|
-
export function macosDoubleClick(this: import("../driver").Mac2Driver, opts?: import(
|
|
49
|
+
export function macosDoubleClick(this: import("../driver").Mac2Driver, opts?: import("../types").DoubleClickOptions): Promise<unknown>;
|
|
50
50
|
/**
|
|
51
51
|
* Perform long click and drag gesture on an element or by absolute coordinates
|
|
52
52
|
*
|
|
53
53
|
* @this {Mac2Driver}
|
|
54
54
|
* @param {import('../types').ClickAndDragOptions} opts
|
|
55
55
|
*/
|
|
56
|
-
export function macosClickAndDrag(this: import("../driver").Mac2Driver, opts: import(
|
|
56
|
+
export function macosClickAndDrag(this: import("../driver").Mac2Driver, opts: import("../types").ClickAndDragOptions): Promise<unknown>;
|
|
57
57
|
/**
|
|
58
58
|
* Perform long click, drag and hold gesture on an element or by absolute coordinates
|
|
59
59
|
*
|
|
60
60
|
* @this {Mac2Driver}
|
|
61
61
|
* @param {import('../types').ClickAndDragAndHoldOptions} opts
|
|
62
62
|
*/
|
|
63
|
-
export function macosClickAndDragAndHold(this: import("../driver").Mac2Driver, opts: import(
|
|
63
|
+
export function macosClickAndDragAndHold(this: import("../driver").Mac2Driver, opts: import("../types").ClickAndDragAndHoldOptions): Promise<unknown>;
|
|
64
64
|
/**
|
|
65
65
|
* Send keys to the given element or to the application under test
|
|
66
66
|
*
|
|
67
67
|
* @this {Mac2Driver}
|
|
68
68
|
* @param {import('../types').KeysOptions} opts
|
|
69
69
|
*/
|
|
70
|
-
export function macosKeys(this: import("../driver").Mac2Driver, opts: import(
|
|
70
|
+
export function macosKeys(this: import("../driver").Mac2Driver, opts: import("../types").KeysOptions): Promise<unknown>;
|
|
71
71
|
/**
|
|
72
72
|
* Perform press gesture on a Touch Bar element or by relative/absolute coordinates
|
|
73
73
|
*
|
|
74
74
|
* @this {Mac2Driver}
|
|
75
75
|
* @param {import('../types').PressOptions} opts
|
|
76
76
|
*/
|
|
77
|
-
export function macosPressAndHold(this: import("../driver").Mac2Driver, opts: import(
|
|
77
|
+
export function macosPressAndHold(this: import("../driver").Mac2Driver, opts: import("../types").PressOptions): Promise<unknown>;
|
|
78
78
|
/**
|
|
79
79
|
* Perform tap gesture on a Touch Bar element or by relative/absolute coordinates
|
|
80
80
|
*
|
|
81
81
|
* @this {Mac2Driver}
|
|
82
82
|
* @param {import('../types').TapOptions} opts
|
|
83
83
|
*/
|
|
84
|
-
export function macosTap(this: import("../driver").Mac2Driver, opts?: import(
|
|
84
|
+
export function macosTap(this: import("../driver").Mac2Driver, opts?: import("../types").TapOptions): Promise<unknown>;
|
|
85
85
|
/**
|
|
86
86
|
* Perform tap gesture on a Touch Bar element or by relative/absolute coordinates
|
|
87
87
|
*
|
|
88
88
|
* @this {Mac2Driver}
|
|
89
89
|
* @param {import('../types').DoubleTapOptions} opts
|
|
90
90
|
*/
|
|
91
|
-
export function macosDoubleTap(this: import("../driver").Mac2Driver, opts?: import(
|
|
91
|
+
export function macosDoubleTap(this: import("../driver").Mac2Driver, opts?: import("../types").DoubleTapOptions): Promise<unknown>;
|
|
92
92
|
/**
|
|
93
93
|
* Perform long press and drag gesture on a Touch Bar element or by absolute coordinates
|
|
94
94
|
*
|
|
95
95
|
* @this {Mac2Driver}
|
|
96
96
|
* @param {import('../types').PressAndDragOptions} opts
|
|
97
97
|
*/
|
|
98
|
-
export function macosPressAndDrag(this: import("../driver").Mac2Driver, opts: import(
|
|
98
|
+
export function macosPressAndDrag(this: import("../driver").Mac2Driver, opts: import("../types").PressAndDragOptions): Promise<unknown>;
|
|
99
99
|
/**
|
|
100
100
|
* Perform press, drag and hold gesture on a Touch Bar element or by absolute Touch Bar coordinates
|
|
101
101
|
*
|
|
102
102
|
* @this {Mac2Driver}
|
|
103
103
|
* @param {import('../types').PressAndDragAndHoldOptions} opts
|
|
104
104
|
*/
|
|
105
|
-
export function macosPressAndDragAndHold(this: import("../driver").Mac2Driver, opts: import(
|
|
106
|
-
export type Mac2Driver = import(
|
|
105
|
+
export function macosPressAndDragAndHold(this: import("../driver").Mac2Driver, opts: import("../types").PressAndDragAndHoldOptions): Promise<unknown>;
|
|
106
|
+
export type Mac2Driver = import("../driver").Mac2Driver;
|
|
107
107
|
//# sourceMappingURL=gestures.d.ts.map
|
|
@@ -1,6 +1,20 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.macosSetValue = macosSetValue;
|
|
4
|
+
exports.macosClick = macosClick;
|
|
5
|
+
exports.macosScroll = macosScroll;
|
|
6
|
+
exports.macosSwipe = macosSwipe;
|
|
7
|
+
exports.macosRightClick = macosRightClick;
|
|
8
|
+
exports.macosHover = macosHover;
|
|
9
|
+
exports.macosDoubleClick = macosDoubleClick;
|
|
10
|
+
exports.macosClickAndDrag = macosClickAndDrag;
|
|
11
|
+
exports.macosClickAndDragAndHold = macosClickAndDragAndHold;
|
|
12
|
+
exports.macosKeys = macosKeys;
|
|
13
|
+
exports.macosPressAndHold = macosPressAndHold;
|
|
14
|
+
exports.macosTap = macosTap;
|
|
15
|
+
exports.macosDoubleTap = macosDoubleTap;
|
|
16
|
+
exports.macosPressAndDrag = macosPressAndDrag;
|
|
17
|
+
exports.macosPressAndDragAndHold = macosPressAndDragAndHold;
|
|
4
18
|
const support_1 = require("appium/support");
|
|
5
19
|
const driver_1 = require("appium/driver");
|
|
6
20
|
/**
|
|
@@ -47,7 +61,6 @@ async function macosSetValue(opts) {
|
|
|
47
61
|
keyModifierFlags,
|
|
48
62
|
});
|
|
49
63
|
}
|
|
50
|
-
exports.macosSetValue = macosSetValue;
|
|
51
64
|
;
|
|
52
65
|
/**
|
|
53
66
|
* Perform click gesture on an element or by relative/absolute coordinates
|
|
@@ -64,7 +77,6 @@ async function macosClick(opts = {}) {
|
|
|
64
77
|
keyModifierFlags,
|
|
65
78
|
});
|
|
66
79
|
}
|
|
67
|
-
exports.macosClick = macosClick;
|
|
68
80
|
;
|
|
69
81
|
/**
|
|
70
82
|
* Perform scroll gesture on an element or by relative/absolute coordinates
|
|
@@ -82,7 +94,6 @@ async function macosScroll(opts = {}) {
|
|
|
82
94
|
keyModifierFlags,
|
|
83
95
|
});
|
|
84
96
|
}
|
|
85
|
-
exports.macosScroll = macosScroll;
|
|
86
97
|
;
|
|
87
98
|
/**
|
|
88
99
|
* Perform swipe gesture on an element
|
|
@@ -101,7 +112,6 @@ async function macosSwipe(opts) {
|
|
|
101
112
|
keyModifierFlags,
|
|
102
113
|
});
|
|
103
114
|
}
|
|
104
|
-
exports.macosSwipe = macosSwipe;
|
|
105
115
|
;
|
|
106
116
|
/**
|
|
107
117
|
* Perform right click gesture on an element or by relative/absolute coordinates
|
|
@@ -118,7 +128,6 @@ async function macosRightClick(opts = {}) {
|
|
|
118
128
|
keyModifierFlags,
|
|
119
129
|
});
|
|
120
130
|
}
|
|
121
|
-
exports.macosRightClick = macosRightClick;
|
|
122
131
|
;
|
|
123
132
|
/**
|
|
124
133
|
* Perform hover gesture on an element or by relative/absolute coordinates
|
|
@@ -135,7 +144,6 @@ async function macosHover(opts = {}) {
|
|
|
135
144
|
keyModifierFlags,
|
|
136
145
|
});
|
|
137
146
|
}
|
|
138
|
-
exports.macosHover = macosHover;
|
|
139
147
|
;
|
|
140
148
|
/**
|
|
141
149
|
* Perform double click gesture on an element or by relative/absolute coordinates
|
|
@@ -152,7 +160,6 @@ async function macosDoubleClick(opts = {}) {
|
|
|
152
160
|
keyModifierFlags,
|
|
153
161
|
});
|
|
154
162
|
}
|
|
155
|
-
exports.macosDoubleClick = macosDoubleClick;
|
|
156
163
|
;
|
|
157
164
|
/**
|
|
158
165
|
* Perform long click and drag gesture on an element or by absolute coordinates
|
|
@@ -176,7 +183,6 @@ async function macosClickAndDrag(opts) {
|
|
|
176
183
|
keyModifierFlags,
|
|
177
184
|
});
|
|
178
185
|
}
|
|
179
|
-
exports.macosClickAndDrag = macosClickAndDrag;
|
|
180
186
|
;
|
|
181
187
|
/**
|
|
182
188
|
* Perform long click, drag and hold gesture on an element or by absolute coordinates
|
|
@@ -201,7 +207,6 @@ async function macosClickAndDragAndHold(opts) {
|
|
|
201
207
|
keyModifierFlags,
|
|
202
208
|
});
|
|
203
209
|
}
|
|
204
|
-
exports.macosClickAndDragAndHold = macosClickAndDragAndHold;
|
|
205
210
|
;
|
|
206
211
|
/**
|
|
207
212
|
* Send keys to the given element or to the application under test
|
|
@@ -215,7 +220,6 @@ async function macosKeys(opts) {
|
|
|
215
220
|
const url = uuid ? `/wda/element/${uuid}/keys` : '/wda/keys';
|
|
216
221
|
return await this.wda.proxy.command(url, 'POST', { keys });
|
|
217
222
|
}
|
|
218
|
-
exports.macosKeys = macosKeys;
|
|
219
223
|
;
|
|
220
224
|
/**
|
|
221
225
|
* Perform press gesture on a Touch Bar element or by relative/absolute coordinates
|
|
@@ -233,7 +237,6 @@ async function macosPressAndHold(opts) {
|
|
|
233
237
|
keyModifierFlags,
|
|
234
238
|
});
|
|
235
239
|
}
|
|
236
|
-
exports.macosPressAndHold = macosPressAndHold;
|
|
237
240
|
;
|
|
238
241
|
/**
|
|
239
242
|
* Perform tap gesture on a Touch Bar element or by relative/absolute coordinates
|
|
@@ -250,7 +253,6 @@ async function macosTap(opts = {}) {
|
|
|
250
253
|
keyModifierFlags,
|
|
251
254
|
});
|
|
252
255
|
}
|
|
253
|
-
exports.macosTap = macosTap;
|
|
254
256
|
;
|
|
255
257
|
/**
|
|
256
258
|
* Perform tap gesture on a Touch Bar element or by relative/absolute coordinates
|
|
@@ -267,7 +269,6 @@ async function macosDoubleTap(opts = {}) {
|
|
|
267
269
|
keyModifierFlags,
|
|
268
270
|
});
|
|
269
271
|
}
|
|
270
|
-
exports.macosDoubleTap = macosDoubleTap;
|
|
271
272
|
;
|
|
272
273
|
/**
|
|
273
274
|
* Perform long press and drag gesture on a Touch Bar element or by absolute coordinates
|
|
@@ -291,7 +292,6 @@ async function macosPressAndDrag(opts) {
|
|
|
291
292
|
keyModifierFlags,
|
|
292
293
|
});
|
|
293
294
|
}
|
|
294
|
-
exports.macosPressAndDrag = macosPressAndDrag;
|
|
295
295
|
;
|
|
296
296
|
/**
|
|
297
297
|
* Perform press, drag and hold gesture on a Touch Bar element or by absolute Touch Bar coordinates
|
|
@@ -316,7 +316,6 @@ async function macosPressAndDragAndHold(opts) {
|
|
|
316
316
|
keyModifierFlags,
|
|
317
317
|
});
|
|
318
318
|
}
|
|
319
|
-
exports.macosPressAndDragAndHold = macosPressAndDragAndHold;
|
|
320
319
|
;
|
|
321
320
|
/**
|
|
322
321
|
* @typedef {import('../driver').Mac2Driver} Mac2Driver
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gestures.js","sourceRoot":"","sources":["../../../lib/commands/gestures.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"gestures.js","sourceRoot":"","sources":["../../../lib/commands/gestures.js"],"names":[],"mappings":";;AAyCA,sCAOC;AAQD,gCAQC;AAQD,kCAaC;AAQD,gCAeC;AAQD,0CAQC;AAQD,gCAQC;AAQD,4CAQC;AAQD,8CAoBC;AAQD,4DAsBC;AAQD,8BAKC;AAQD,8CASC;AAQD,4BAQC;AAQD,wCAQC;AAQD,8CAoBC;AAQD,4DAsBC;AA9UD,4CAAsC;AACtC,0CAAuC;AAEvC;;;;;GAKG;AACH,SAAS,WAAW,CAAE,OAAO,GAAG,EAAE,EAAE,QAAQ,GAAG,CAAC,WAAW,EAAE,SAAS,CAAC;IACrE,KAAK,MAAM,IAAI,IAAI,QAAQ,EAAE,CAAC;QAC5B,IAAI,OAAO,CAAC,IAAI,CAAC,EAAE,CAAC;YAClB,MAAM,MAAM,GAAG,cAAI,CAAC,aAAa,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC;YACjD,IAAI,MAAM,EAAE,CAAC;gBACX,OAAO,MAAM,CAAC;YAChB,CAAC;QACH,CAAC;IACH,CAAC;IACD,OAAO,IAAI,CAAC;AACd,CAAC;AAED;;;;;GAKG;AACH,SAAS,WAAW,CAAE,OAAO,GAAG,EAAE,EAAE,QAAQ,GAAG,CAAC,WAAW,EAAE,SAAS,CAAC;IACrE,MAAM,MAAM,GAAG,WAAW,CAAC,OAAO,EAAE,QAAQ,CAAC,CAAC;IAC9C,IAAI,CAAC,MAAM,EAAE,CAAC;QACZ,MAAM,IAAI,eAAM,CAAC,oBAAoB,CAAC,GAAG,QAAQ,CAAC,CAAC,CAAC,qBAAqB,CAAC,CAAC;IAC7E,CAAC;IACD,OAAO,MAAM,CAAC;AAChB,CAAC;AAED;;;;;GAKG;AACI,KAAK,UAAU,aAAa,CAAE,IAAI;IACvC,MAAM,IAAI,GAAG,WAAW,CAAC,IAAI,CAAC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,CAAC;AAEF;;;;;GAKG;AACI,KAAK,UAAU,wBAAwB,CAAE,IAAI;IAClD,MAAM,UAAU,GAAG,WAAW,CAAC,IAAI,EAAE,CAAC,iBAAiB,EAAE,eAAe,CAAC,CAAC,CAAC;IAC3E,MAAM,QAAQ,GAAG,WAAW,CAAC,IAAI,EAAE,CAAC,sBAAsB,EAAE,oBAAoB,CAAC,CAAC,CAAC;IACnF,MAAM,EACJ,MAAM,EAAE,MAAM,EACd,IAAI,EAAE,IAAI,EACV,QAAQ,EAAE,YAAY,EACtB,QAAQ,EACR,gBAAgB,EACjB,GAAG,IAAI,IAAI,EAAE,CAAC;IACf,MAAM,GAAG,GAAG,UAAU,IAAI,QAAQ;QAChC,CAAC,CAAC,gBAAgB,UAAU,sBAAsB;QAClD,CAAC,CAAC,0BAA0B,CAAC;IAC/B,MAAM,IAAI,GAAG,QAAQ,IAAI,cAAI,CAAC,WAAW,CAAC,QAAQ,CAAC,CAAC;IACpD,OAAO,MAAM,IAAI,CAAC,GAAG,CAAC,KAAK,CAAC,OAAO,CAAC,GAAG,EAAE,MAAM,EAAE;QAC/C,MAAM,EAAE,MAAM;QACd,IAAI,EAAE,IAAI;QACV,QAAQ,EAAE,YAAY;QACtB,QAAQ;QACR,IAAI;QACJ,gBAAgB;KACjB,CAAC,CAAC;AACL,CAAC;AAAA,CAAC;AAEF;;GAEG"}
|
|
@@ -6,6 +6,6 @@
|
|
|
6
6
|
* @param {import('../types').DeepLinkOptions} opts
|
|
7
7
|
* @returns {Promise<unknown>}
|
|
8
8
|
*/
|
|
9
|
-
export function macosDeepLink(this: import("../driver").Mac2Driver, opts: import(
|
|
10
|
-
export type Mac2Driver = import(
|
|
9
|
+
export function macosDeepLink(this: import("../driver").Mac2Driver, opts: import("../types").DeepLinkOptions): Promise<unknown>;
|
|
10
|
+
export type Mac2Driver = import("../driver").Mac2Driver;
|
|
11
11
|
//# sourceMappingURL=navigation.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"navigation.d.ts","sourceRoot":"","sources":["../../../lib/commands/navigation.js"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,0EAHW,OAAO,UAAU,EAAE,eAAe,GAChC,
|
|
1
|
+
{"version":3,"file":"navigation.d.ts","sourceRoot":"","sources":["../../../lib/commands/navigation.js"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,0EAHW,OAAO,UAAU,EAAE,eAAe,GAChC,OAAO,CAAC,OAAO,CAAC,CAK5B;yBAGY,OAAO,WAAW,EAAE,UAAU"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.macosDeepLink =
|
|
3
|
+
exports.macosDeepLink = macosDeepLink;
|
|
4
4
|
/**
|
|
5
5
|
* Opens the given URL with the default or the given application.
|
|
6
6
|
* Xcode must be at version 14.3+.
|
|
@@ -13,7 +13,6 @@ async function macosDeepLink(opts) {
|
|
|
13
13
|
const { url, bundleId } = opts;
|
|
14
14
|
return await this.wda.proxy.command('/url', 'POST', { url, bundleId });
|
|
15
15
|
}
|
|
16
|
-
exports.macosDeepLink = macosDeepLink;
|
|
17
16
|
;
|
|
18
17
|
/**
|
|
19
18
|
* @typedef {import('../driver').Mac2Driver} Mac2Driver
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"navigation.js","sourceRoot":"","sources":["../../../lib/commands/navigation.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"navigation.js","sourceRoot":"","sources":["../../../lib/commands/navigation.js"],"names":[],"mappings":";;AAQA,sCAGC;AAXD;;;;;;;GAOG;AACI,KAAK,UAAU,aAAa,CAAE,IAAI;IACvC,MAAM,EAAC,GAAG,EAAE,QAAQ,EAAC,GAAG,IAAI,CAAC;IAC7B,OAAO,MAAM,IAAI,CAAC,GAAG,CAAC,KAAK,CAAC,OAAO,CAAC,MAAM,EAAE,MAAM,EAAE,EAAC,GAAG,EAAE,QAAQ,EAAC,CAAC,CAAC;AACvE,CAAC;AAAA,CAAC;AAEF;;GAEG"}
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* @this {Mac2Driver}
|
|
10
10
|
* @throws {Error} If screen recording has failed to start or is not supported on the device under test.
|
|
11
11
|
*/
|
|
12
|
-
export function startRecordingScreen(this: import("../driver").Mac2Driver, options: import(
|
|
12
|
+
export function startRecordingScreen(this: import("../driver").Mac2Driver, options: import("../types").StartRecordingOptions): Promise<void>;
|
|
13
13
|
export class startRecordingScreen {
|
|
14
14
|
/**
|
|
15
15
|
* Record the display in background while the automated test is running.
|
|
@@ -22,7 +22,7 @@ export class startRecordingScreen {
|
|
|
22
22
|
* @this {Mac2Driver}
|
|
23
23
|
* @throws {Error} If screen recording has failed to start or is not supported on the device under test.
|
|
24
24
|
*/
|
|
25
|
-
constructor(this: import("../driver").Mac2Driver, options: import(
|
|
25
|
+
constructor(this: import("../driver").Mac2Driver, options: import("../types").StartRecordingOptions);
|
|
26
26
|
_screenRecorder: ScreenRecorder;
|
|
27
27
|
}
|
|
28
28
|
/**
|
|
@@ -38,7 +38,7 @@ export class startRecordingScreen {
|
|
|
38
38
|
* or screen recording is not supported on the device under test.
|
|
39
39
|
*/
|
|
40
40
|
export function stopRecordingScreen(this: import("../driver").Mac2Driver, options?: import("../types").StopRecordingOptions | undefined): Promise<string>;
|
|
41
|
-
export type Mac2Driver = import(
|
|
41
|
+
export type Mac2Driver = import("../driver").Mac2Driver;
|
|
42
42
|
declare class ScreenRecorder {
|
|
43
43
|
constructor(videoPath: any, opts?: {});
|
|
44
44
|
_videoPath: any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"record-screen.d.ts","sourceRoot":"","sources":["../../../lib/commands/record-screen.js"],"names":[],"mappings":"AA4LA;;;;;;;;;;GAUG;AACH,oFAJW,OAAO,UAAU,EAAE,qBAAqB,iBAmDlD;;IA1DD;;;;;;;;;;OAUG;IACH,2DAJW,OAAO,UAAU,EAAE,qBAAqB,EAmDlD;IArBC,gCAA2B;;AAuB7B;;;;;;;;;;;GAWG;AACH,0IAPa,
|
|
1
|
+
{"version":3,"file":"record-screen.d.ts","sourceRoot":"","sources":["../../../lib/commands/record-screen.js"],"names":[],"mappings":"AA4LA;;;;;;;;;;GAUG;AACH,oFAJW,OAAO,UAAU,EAAE,qBAAqB,iBAmDlD;;IA1DD;;;;;;;;;;OAUG;IACH,2DAJW,OAAO,UAAU,EAAE,qBAAqB,EAmDlD;IArBC,gCAA2B;;AAuB7B;;;;;;;;;;;GAWG;AACH,0IAPa,OAAO,CAAC,MAAM,CAAC,CAoB3B;yBAGY,OAAO,WAAW,EAAE,UAAU;AA9N3C;IACE,uCAYC;IAXC,gBAA2B;IAC3B,4BAAoB;IACpB,UAA+D;IAC/D,eAA8B;IAC9B,oBAAwC;IACxC,oBAAwC;IACxC,aAA4C;IAC5C,kBAAoC;IACpC,gBAEsB;IAGxB,6BAEC;IAED,qBAEC;IAED,uCAaC;IAED,uBA+DC;IAED,oCA4BC;CACF;2BAtL0B,cAAc"}
|
|
@@ -3,7 +3,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.
|
|
6
|
+
exports.startRecordingScreen = startRecordingScreen;
|
|
7
|
+
exports.stopRecordingScreen = stopRecordingScreen;
|
|
7
8
|
const lodash_1 = __importDefault(require("lodash"));
|
|
8
9
|
const asyncbox_1 = require("asyncbox");
|
|
9
10
|
const support_1 = require("appium/support");
|
|
@@ -227,7 +228,6 @@ async function startRecordingScreen(options) {
|
|
|
227
228
|
throw e;
|
|
228
229
|
}
|
|
229
230
|
}
|
|
230
|
-
exports.startRecordingScreen = startRecordingScreen;
|
|
231
231
|
;
|
|
232
232
|
/**
|
|
233
233
|
* Stop recording the screen.
|
|
@@ -254,7 +254,6 @@ async function stopRecordingScreen(options = {}) {
|
|
|
254
254
|
}
|
|
255
255
|
return await uploadRecordedMedia(videoPath, options.remotePath, options);
|
|
256
256
|
}
|
|
257
|
-
exports.stopRecordingScreen = stopRecordingScreen;
|
|
258
257
|
;
|
|
259
258
|
/**
|
|
260
259
|
* @typedef {import('../driver').Mac2Driver} Mac2Driver
|