appium-mac2-driver 3.4.3 → 4.0.0
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 +16 -0
- package/README.md +4 -4
- package/build/lib/commands/app-management.d.ts +1 -1
- package/build/lib/commands/app-management.d.ts.map +1 -1
- package/build/lib/commands/app-management.js +4 -10
- 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 +11 -17
- package/build/lib/commands/applescript.js.map +1 -1
- package/build/lib/commands/audit.d.ts +1 -1
- package/build/lib/commands/audit.d.ts.map +1 -1
- package/build/lib/commands/audit.js +1 -4
- package/build/lib/commands/audit.js.map +1 -1
- package/build/lib/commands/bidi/constants.js +2 -5
- package/build/lib/commands/bidi/constants.js.map +1 -1
- package/build/lib/commands/bidi/models.d.ts +1 -1
- package/build/lib/commands/bidi/models.d.ts.map +1 -1
- package/build/lib/commands/bidi/models.js +3 -6
- package/build/lib/commands/bidi/models.js.map +1 -1
- package/build/lib/commands/bidi/types.js +1 -2
- package/build/lib/commands/clipboard.d.ts +1 -1
- package/build/lib/commands/clipboard.d.ts.map +1 -1
- package/build/lib/commands/clipboard.js +2 -6
- package/build/lib/commands/clipboard.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 +1 -4
- 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 +3 -6
- package/build/lib/commands/find.js.map +1 -1
- package/build/lib/commands/gestures.d.ts +2 -2
- package/build/lib/commands/gestures.d.ts.map +1 -1
- package/build/lib/commands/gestures.js +23 -40
- package/build/lib/commands/gestures.js.map +1 -1
- package/build/lib/commands/helpers.d.ts +1 -1
- package/build/lib/commands/helpers.d.ts.map +1 -1
- package/build/lib/commands/helpers.js +6 -9
- package/build/lib/commands/helpers.js.map +1 -1
- package/build/lib/commands/native-record-screen.d.ts +1 -1
- package/build/lib/commands/native-record-screen.d.ts.map +1 -1
- package/build/lib/commands/native-record-screen.js +84 -63
- package/build/lib/commands/native-record-screen.js.map +1 -1
- package/build/lib/commands/navigation.d.ts +1 -1
- package/build/lib/commands/navigation.d.ts.map +1 -1
- package/build/lib/commands/navigation.js +1 -4
- package/build/lib/commands/navigation.js.map +1 -1
- package/build/lib/commands/record-screen.d.ts +2 -2
- package/build/lib/commands/record-screen.d.ts.map +1 -1
- package/build/lib/commands/record-screen.js +20 -28
- 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 -4
- 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 -4
- package/build/lib/commands/source.js.map +1 -1
- package/build/lib/constraints.js +1 -3
- package/build/lib/constraints.js.map +1 -1
- package/build/lib/doctor/optional-checks.d.ts +21 -0
- package/build/lib/doctor/optional-checks.d.ts.map +1 -1
- package/build/lib/doctor/optional-checks.js +116 -20
- package/build/lib/doctor/optional-checks.js.map +1 -1
- package/build/lib/doctor/required-checks.js +16 -21
- package/build/lib/doctor/required-checks.js.map +1 -1
- package/build/lib/doctor/utils.js +4 -7
- package/build/lib/doctor/utils.js.map +1 -1
- package/build/lib/driver.d.ts +15 -15
- package/build/lib/driver.d.ts.map +1 -1
- package/build/lib/driver.js +31 -71
- package/build/lib/driver.js.map +1 -1
- package/build/lib/execute-method-map.js +1 -4
- package/build/lib/execute-method-map.js.map +1 -1
- package/build/lib/index.d.ts +1 -1
- package/build/lib/index.d.ts.map +1 -1
- package/build/lib/index.js +3 -6
- package/build/lib/index.js.map +1 -1
- package/build/lib/logger.js +3 -5
- package/build/lib/logger.js.map +1 -1
- package/build/lib/method-map.js +1 -4
- package/build/lib/method-map.js.map +1 -1
- package/build/lib/types.js +1 -2
- package/build/lib/utils.d.ts +7 -0
- package/build/lib/utils.d.ts.map +1 -1
- package/build/lib/utils.js +24 -22
- package/build/lib/utils.js.map +1 -1
- package/build/lib/wda-mac.d.ts +1 -1
- package/build/lib/wda-mac.d.ts.map +1 -1
- package/build/lib/wda-mac.js +43 -51
- package/build/lib/wda-mac.js.map +1 -1
- package/lib/commands/app-management.ts +1 -1
- package/lib/commands/applescript.ts +3 -3
- package/lib/commands/audit.ts +1 -1
- package/lib/commands/bidi/models.ts +2 -2
- package/lib/commands/clipboard.ts +1 -1
- package/lib/commands/execute.ts +1 -1
- package/lib/commands/find.ts +2 -2
- package/lib/commands/gestures.ts +4 -4
- package/lib/commands/helpers.ts +2 -2
- package/lib/commands/native-record-screen.ts +67 -35
- package/lib/commands/navigation.ts +1 -1
- package/lib/commands/record-screen.ts +4 -4
- package/lib/commands/screenshots.ts +2 -2
- package/lib/commands/source.ts +1 -1
- package/lib/doctor/optional-checks.ts +127 -2
- package/lib/doctor/required-checks.ts +1 -1
- package/lib/doctor/utils.ts +1 -1
- package/lib/driver.ts +18 -18
- package/lib/index.ts +1 -1
- package/lib/logger.ts +1 -1
- package/lib/utils.ts +20 -9
- package/lib/wda-mac.ts +3 -3
- package/npm-shrinkwrap.json +130 -590
- package/package.json +13 -12
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,19 @@
|
|
|
1
|
+
## [4.0.0](https://github.com/appium/appium-mac2-driver/compare/v3.5.0...v4.0.0) (2026-06-15)
|
|
2
|
+
|
|
3
|
+
### ⚠ BREAKING CHANGES
|
|
4
|
+
|
|
5
|
+
* The package is now ESM-only. require('appium-mac2-driver') and other CommonJS require() usage will no longer work. Consumers must use ESM import.
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* Migrate package to ESM ([#388](https://github.com/appium/appium-mac2-driver/issues/388)) ([e226446](https://github.com/appium/appium-mac2-driver/commit/e2264460f89cfbe5b454de7ac05aeba155d67b40))
|
|
10
|
+
|
|
11
|
+
## [3.5.0](https://github.com/appium/appium-mac2-driver/compare/v3.4.3...v3.5.0) (2026-05-15)
|
|
12
|
+
|
|
13
|
+
### Features
|
|
14
|
+
|
|
15
|
+
* Add doctor check to verify full disk access permissions ([#385](https://github.com/appium/appium-mac2-driver/issues/385)) ([e58943b](https://github.com/appium/appium-mac2-driver/commit/e58943b985056869bf9c8140f0a718c4dfe819f0))
|
|
16
|
+
|
|
1
17
|
## [3.4.3](https://github.com/appium/appium-mac2-driver/compare/v3.4.2...v3.4.3) (2026-05-15)
|
|
2
18
|
|
|
3
19
|
### Miscellaneous Chores
|
package/README.md
CHANGED
|
@@ -23,7 +23,7 @@ On top of standard Appium requirements Mac2 driver also expects the following pr
|
|
|
23
23
|
- macOS 11 or later
|
|
24
24
|
- Xcode 13 or later should be installed
|
|
25
25
|
- `xcode-select` should be pointing to `<full_path_to_xcode_app>/Contents/Developer` developer directory instead of `/Library/Developer/CommandLineTools` to run `xcodebuild` commands
|
|
26
|
-
- Xcode Helper app should be enabled for Accessibility access. The app itself could be usually found at `/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Xcode/Agents/Xcode Helper.app`. In order to enable Accessibility access for it simply open the parent folder in Finder: `open /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Xcode/Agents/` and drag & drop the `Xcode Helper` app to `Security & Privacy -> Privacy -> Accessibility` list of your `System
|
|
26
|
+
- Xcode Helper app should be enabled for Accessibility access. The app itself could be usually found at `/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Xcode/Agents/Xcode Helper.app`. In order to enable Accessibility access for it simply open the parent folder in Finder: `open /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Xcode/Agents/` and drag & drop the `Xcode Helper` app to `Security & Privacy -> Privacy -> Accessibility` list of your `System Settings`. This action must only be done once.
|
|
27
27
|
- `testmanagerd` process requires UIAutomation authentication since macOS 12. `automationmodetool enable-automationmode-without-authentication` command may help to disable it. This may be particularly useful in CI environments. [Apple forum thread](https://developer.apple.com/forums/thread/693850).
|
|
28
28
|
|
|
29
29
|
### Doctor
|
|
@@ -524,7 +524,7 @@ to a script in such case.
|
|
|
524
524
|
Note that by default AppleScript engine blocks commands/scripts execution if your script
|
|
525
525
|
is trying to access some private entities, like cameras or the desktop screen
|
|
526
526
|
and no permissions to do it are given to the parent (for example, Appium or Terminal)
|
|
527
|
-
process in System
|
|
527
|
+
process in System Settings -> Privacy list.
|
|
528
528
|
See [AppleScript Commands Execution](#applescript-commands-execution) for more details.
|
|
529
529
|
|
|
530
530
|
#### Arguments
|
|
@@ -543,7 +543,7 @@ The actual stdout of the provided script if its execution was successful (e.g. g
|
|
|
543
543
|
|
|
544
544
|
### macos: startRecordingScreen
|
|
545
545
|
|
|
546
|
-
Record the display in background while the automated test is running. This method requires [FFMPEG](https://www.ffmpeg.org/download.html) to be installed and present in PATH. Also, the Appium process must be allowed to access screen recording in System
|
|
546
|
+
Record the display in background while the automated test is running. This method requires [FFMPEG](https://www.ffmpeg.org/download.html) to be installed and present in PATH. Also, the Appium process must be allowed to access screen recording in System Settings->Security & Privacy->Screen Recording. The resulting video uses H264 codec and is ready to be played by media players built-in into web browsers.
|
|
547
547
|
|
|
548
548
|
#### Arguments
|
|
549
549
|
|
|
@@ -666,7 +666,7 @@ Xcode must be at version 15+.
|
|
|
666
666
|
> [!IMPORTANT]
|
|
667
667
|
> In order to retrieve the recorded video from the local file system the Appium Server process itself
|
|
668
668
|
> or its parent process (e.g. Terminal) must have the "Full Disk Access" permission granted
|
|
669
|
-
> in 'System
|
|
669
|
+
> in 'System Settings'→'Privacy & Security' tab.
|
|
670
670
|
|
|
671
671
|
> [!NOTE]
|
|
672
672
|
> Be careful while recording lengthy videos. They could be pretty large, and may easily exceed
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app-management.d.ts","sourceRoot":"","sources":["../../../lib/commands/app-management.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,UAAU,EAAC,MAAM,
|
|
1
|
+
{"version":3,"file":"app-management.d.ts","sourceRoot":"","sources":["../../../lib/commands/app-management.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,UAAU,EAAC,MAAM,cAAc,CAAC;AAC7C,OAAO,KAAK,EAAC,YAAY,EAAC,MAAM,eAAe,CAAC;AAEhD;;;;;;;;;;;;;GAaG;AACH,wBAAsB,cAAc,CAClC,IAAI,EAAE,UAAU,EAChB,QAAQ,CAAC,EAAE,MAAM,EACjB,IAAI,CAAC,EAAE,MAAM,EACb,IAAI,CAAC,EAAE,MAAM,EAAE,EACf,WAAW,CAAC,EAAE,YAAY,GACzB,OAAO,CAAC,OAAO,CAAC,CAOlB;AAED;;;;;;;;GAQG;AACH,wBAAsB,gBAAgB,CACpC,IAAI,EAAE,UAAU,EAChB,QAAQ,CAAC,EAAE,MAAM,EACjB,IAAI,CAAC,EAAE,MAAM,GACZ,OAAO,CAAC,OAAO,CAAC,CAElB;AAED;;;;;;;;;;GAUG;AACH,wBAAsB,iBAAiB,CACrC,IAAI,EAAE,UAAU,EAChB,QAAQ,CAAC,EAAE,MAAM,EACjB,IAAI,CAAC,EAAE,MAAM,GACZ,OAAO,CAAC,OAAO,CAAC,CAElB;AAED;;;;;;;;;;;GAWG;AACH,wBAAsB,kBAAkB,CACtC,IAAI,EAAE,UAAU,EAChB,QAAQ,CAAC,EAAE,MAAM,EACjB,IAAI,CAAC,EAAE,MAAM,GACZ,OAAO,CAAC,MAAM,CAAC,CAEjB"}
|
|
@@ -1,9 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.macosLaunchApp = macosLaunchApp;
|
|
4
|
-
exports.macosActivateApp = macosActivateApp;
|
|
5
|
-
exports.macosTerminateApp = macosTerminateApp;
|
|
6
|
-
exports.macosQueryAppState = macosQueryAppState;
|
|
7
1
|
/**
|
|
8
2
|
* Start an app with given bundle identifier or activates it
|
|
9
3
|
* if the app is already running. An exception is thrown if the
|
|
@@ -18,7 +12,7 @@ exports.macosQueryAppState = macosQueryAppState;
|
|
|
18
12
|
* @param environment - Environment variables mapping.
|
|
19
13
|
* Custom variables are added to the default process environment.
|
|
20
14
|
*/
|
|
21
|
-
async function macosLaunchApp(bundleId, path, args, environment) {
|
|
15
|
+
export async function macosLaunchApp(bundleId, path, args, environment) {
|
|
22
16
|
return await this.wda.proxy.command('/wda/apps/launch', 'POST', {
|
|
23
17
|
arguments: args,
|
|
24
18
|
environment,
|
|
@@ -35,7 +29,7 @@ async function macosLaunchApp(bundleId, path, args, environment) {
|
|
|
35
29
|
* @param path - Full path to the app bundle. Either this property
|
|
36
30
|
* or `bundleId` must be provided
|
|
37
31
|
*/
|
|
38
|
-
async function macosActivateApp(bundleId, path) {
|
|
32
|
+
export async function macosActivateApp(bundleId, path) {
|
|
39
33
|
return await this.wda.proxy.command('/wda/apps/activate', 'POST', { bundleId, path });
|
|
40
34
|
}
|
|
41
35
|
/**
|
|
@@ -49,7 +43,7 @@ async function macosActivateApp(bundleId, path) {
|
|
|
49
43
|
* @returns `true` if the app was running and has been successfully terminated.
|
|
50
44
|
* `false` if the app was not running before.
|
|
51
45
|
*/
|
|
52
|
-
async function macosTerminateApp(bundleId, path) {
|
|
46
|
+
export async function macosTerminateApp(bundleId, path) {
|
|
53
47
|
return (await this.wda.proxy.command('/wda/apps/terminate', 'POST', { bundleId, path }));
|
|
54
48
|
}
|
|
55
49
|
/**
|
|
@@ -64,7 +58,7 @@ async function macosTerminateApp(bundleId, path) {
|
|
|
64
58
|
* https://developer.apple.com/documentation/xctest/xcuiapplicationstate?language=objc
|
|
65
59
|
* for more details
|
|
66
60
|
*/
|
|
67
|
-
async function macosQueryAppState(bundleId, path) {
|
|
61
|
+
export async function macosQueryAppState(bundleId, path) {
|
|
68
62
|
return (await this.wda.proxy.command('/wda/apps/state', 'POST', { bundleId, path }));
|
|
69
63
|
}
|
|
70
64
|
//# sourceMappingURL=app-management.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app-management.js","sourceRoot":"","sources":["../../../lib/commands/app-management.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"app-management.js","sourceRoot":"","sources":["../../../lib/commands/app-management.ts"],"names":[],"mappings":"AAGA;;;;;;;;;;;;;GAaG;AACH,MAAM,CAAC,KAAK,UAAU,cAAc,CAElC,QAAiB,EACjB,IAAa,EACb,IAAe,EACf,WAA0B;IAE1B,OAAO,MAAM,IAAI,CAAC,GAAG,CAAC,KAAK,CAAC,OAAO,CAAC,kBAAkB,EAAE,MAAM,EAAE;QAC9D,SAAS,EAAE,IAAI;QACf,WAAW;QACX,QAAQ;QACR,IAAI;KACL,CAAC,CAAC;AACL,CAAC;AAED;;;;;;;;GAQG;AACH,MAAM,CAAC,KAAK,UAAU,gBAAgB,CAEpC,QAAiB,EACjB,IAAa;IAEb,OAAO,MAAM,IAAI,CAAC,GAAG,CAAC,KAAK,CAAC,OAAO,CAAC,oBAAoB,EAAE,MAAM,EAAE,EAAC,QAAQ,EAAE,IAAI,EAAC,CAAC,CAAC;AACtF,CAAC;AAED;;;;;;;;;;GAUG;AACH,MAAM,CAAC,KAAK,UAAU,iBAAiB,CAErC,QAAiB,EACjB,IAAa;IAEb,OAAO,CAAC,MAAM,IAAI,CAAC,GAAG,CAAC,KAAK,CAAC,OAAO,CAAC,qBAAqB,EAAE,MAAM,EAAE,EAAC,QAAQ,EAAE,IAAI,EAAC,CAAC,CAAY,CAAC;AACpG,CAAC;AAED;;;;;;;;;;;GAWG;AACH,MAAM,CAAC,KAAK,UAAU,kBAAkB,CAEtC,QAAiB,EACjB,IAAa;IAEb,OAAO,CAAC,MAAM,IAAI,CAAC,GAAG,CAAC,KAAK,CAAC,OAAO,CAAC,iBAAiB,EAAE,MAAM,EAAE,EAAC,QAAQ,EAAE,IAAI,EAAC,CAAC,CAAW,CAAC;AAC/F,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { Mac2Driver } from '../driver';
|
|
1
|
+
import type { Mac2Driver } from '../driver.js';
|
|
2
2
|
/**
|
|
3
3
|
* Executes the given AppleScript command or a whole script based on the
|
|
4
4
|
* given options. Either of these options must be provided. If both are provided
|
|
@@ -8,7 +8,7 @@ import type { Mac2Driver } from '../driver';
|
|
|
8
8
|
* Note that by default AppleScript engine blocks commands/scripts execution if your script
|
|
9
9
|
* is trying to access some private entities, like cameras or the desktop screen
|
|
10
10
|
* and no permissions to do it are given to the parent (for example, Appium or Terminal)
|
|
11
|
-
* process in System
|
|
11
|
+
* process in System Settings -> Privacy list.
|
|
12
12
|
*
|
|
13
13
|
* @param script - A valid AppleScript to execute
|
|
14
14
|
* @param language - Overrides the scripting language. Basically, sets
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"applescript.d.ts","sourceRoot":"","sources":["../../../lib/commands/applescript.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAC,UAAU,EAAC,MAAM,
|
|
1
|
+
{"version":3,"file":"applescript.d.ts","sourceRoot":"","sources":["../../../lib/commands/applescript.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAC,UAAU,EAAC,MAAM,cAAc,CAAC;AAK7C;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,wBAAsB,oBAAoB,CACxC,IAAI,EAAE,UAAU,EAChB,MAAM,CAAC,EAAE,MAAM,EACf,QAAQ,CAAC,EAAE,MAAM,EACjB,OAAO,CAAC,EAAE,MAAM,EAChB,GAAG,CAAC,EAAE,MAAM,EACZ,OAAO,CAAC,EAAE,MAAM,GACf,OAAO,CAAC,MAAM,CAAC,CA4CjB"}
|
|
@@ -1,12 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
};
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.macosExecAppleScript = macosExecAppleScript;
|
|
7
|
-
const support_1 = require("appium/support");
|
|
8
|
-
const teen_process_1 = require("teen_process");
|
|
9
|
-
const node_path_1 = __importDefault(require("node:path"));
|
|
1
|
+
import { fs, tempDir, util } from 'appium/support.js';
|
|
2
|
+
import { exec } from 'teen_process';
|
|
3
|
+
import path from 'node:path';
|
|
10
4
|
const OSASCRIPT = 'osascript';
|
|
11
5
|
const APPLE_SCRIPT_FEATURE = 'apple_script';
|
|
12
6
|
/**
|
|
@@ -18,7 +12,7 @@ const APPLE_SCRIPT_FEATURE = 'apple_script';
|
|
|
18
12
|
* Note that by default AppleScript engine blocks commands/scripts execution if your script
|
|
19
13
|
* is trying to access some private entities, like cameras or the desktop screen
|
|
20
14
|
* and no permissions to do it are given to the parent (for example, Appium or Terminal)
|
|
21
|
-
* process in System
|
|
15
|
+
* process in System Settings -> Privacy list.
|
|
22
16
|
*
|
|
23
17
|
* @param script - A valid AppleScript to execute
|
|
24
18
|
* @param language - Overrides the scripting language. Basically, sets
|
|
@@ -33,7 +27,7 @@ const APPLE_SCRIPT_FEATURE = 'apple_script';
|
|
|
33
27
|
* @throws {Error} If the exit code of the given command/script is not zero.
|
|
34
28
|
* The actual stderr output is set to the error message value.
|
|
35
29
|
*/
|
|
36
|
-
async function macosExecAppleScript(script, language, command, cwd, timeout) {
|
|
30
|
+
export async function macosExecAppleScript(script, language, command, cwd, timeout) {
|
|
37
31
|
this.assertFeatureEnabled(APPLE_SCRIPT_FEATURE);
|
|
38
32
|
if (!script && !command) {
|
|
39
33
|
throw this.log.errorWithException('AppleScript script/command must not be empty');
|
|
@@ -53,9 +47,9 @@ async function macosExecAppleScript(script, language, command, cwd, timeout) {
|
|
|
53
47
|
if (!script) {
|
|
54
48
|
throw this.log.errorWithException('AppleScript script must be provided');
|
|
55
49
|
}
|
|
56
|
-
tmpRoot = await
|
|
57
|
-
const tmpScriptPath =
|
|
58
|
-
await
|
|
50
|
+
tmpRoot = await tempDir.openDir();
|
|
51
|
+
const tmpScriptPath = path.resolve(tmpRoot, 'appium_script.scpt');
|
|
52
|
+
await fs.writeFile(tmpScriptPath, script, 'utf8');
|
|
59
53
|
args.push(tmpScriptPath);
|
|
60
54
|
}
|
|
61
55
|
else {
|
|
@@ -64,9 +58,9 @@ async function macosExecAppleScript(script, language, command, cwd, timeout) {
|
|
|
64
58
|
}
|
|
65
59
|
args.push('-e', command);
|
|
66
60
|
}
|
|
67
|
-
this.log.info(`Running ${OSASCRIPT} with arguments: ${
|
|
61
|
+
this.log.info(`Running ${OSASCRIPT} with arguments: ${util.quote(args)}`);
|
|
68
62
|
try {
|
|
69
|
-
const { stdout } = await
|
|
63
|
+
const { stdout } = await exec(OSASCRIPT, args, { cwd, timeout });
|
|
70
64
|
return stdout;
|
|
71
65
|
}
|
|
72
66
|
catch (e) {
|
|
@@ -75,7 +69,7 @@ async function macosExecAppleScript(script, language, command, cwd, timeout) {
|
|
|
75
69
|
}
|
|
76
70
|
finally {
|
|
77
71
|
if (tmpRoot) {
|
|
78
|
-
await
|
|
72
|
+
await fs.rimraf(tmpRoot);
|
|
79
73
|
}
|
|
80
74
|
}
|
|
81
75
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"applescript.js","sourceRoot":"","sources":["../../../lib/commands/applescript.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"applescript.js","sourceRoot":"","sources":["../../../lib/commands/applescript.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,EAAE,EAAE,OAAO,EAAE,IAAI,EAAC,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAC,IAAI,EAAC,MAAM,cAAc,CAAC;AAClC,OAAO,IAAI,MAAM,WAAW,CAAC;AAG7B,MAAM,SAAS,GAAG,WAAW,CAAC;AAC9B,MAAM,oBAAoB,GAAG,cAAc,CAAC;AAE5C;;;;;;;;;;;;;;;;;;;;;;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AAC;YAC5E,CAAC;YACD,IAAI,CAAC,IAAI,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC;QAC3B,CAAC;QACD,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,WAAW,SAAS,oBAAoB,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;QAC1E,IAAI,CAAC;YACH,MAAM,EAAC,MAAM,EAAC,GAAG,MAAM,IAAI,CAAC,SAAS,EAAE,IAAI,EAAE,EAAC,GAAG,EAAE,OAAO,EAAC,CAAC,CAAC;YAC7D,OAAO,MAAM,CAAC;QAChB,CAAC;QAAC,OAAO,CAAM,EAAE,CAAC;YAChB,MAAM,IAAI,KAAK,CAAC,CAAC,CAAC,MAAM,IAAI,CAAC,CAAC,OAAO,EAAE,EAAC,KAAK,EAAE,CAAC,EAAC,CAAC,CAAC;QACrD,CAAC;IACH,CAAC;YAAS,CAAC;QACT,IAAI,OAAO,EAAE,CAAC;YACZ,MAAM,EAAE,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;QAC3B,CAAC;IACH,CAAC;AACH,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"audit.d.ts","sourceRoot":"","sources":["../../../lib/commands/audit.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,UAAU,EAAC,MAAM,
|
|
1
|
+
{"version":3,"file":"audit.d.ts","sourceRoot":"","sources":["../../../lib/commands/audit.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,UAAU,EAAC,MAAM,cAAc,CAAC;AAE7C,MAAM,WAAW,sBAAsB;IACrC,mBAAmB,EAAE,MAAM,CAAC;IAC5B,kBAAkB,EAAE,MAAM,CAAC;IAC3B,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,MAAM,CAAC;IAChB,kBAAkB,EAAE,MAAM,CAAC;CAC5B;AAED;;;;;;GAMG;AACH,wBAAsB,8BAA8B,CAClD,IAAI,EAAE,UAAU,EAChB,UAAU,CAAC,EAAE,MAAM,EAAE,GACpB,OAAO,CAAC,sBAAsB,EAAE,CAAC,CAInC"}
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.macosPerformAccessibilityAudit = macosPerformAccessibilityAudit;
|
|
4
1
|
/**
|
|
5
2
|
* Performs an accessibility audit for the current application.
|
|
6
3
|
*
|
|
@@ -8,7 +5,7 @@ exports.macosPerformAccessibilityAudit = macosPerformAccessibilityAudit;
|
|
|
8
5
|
* If not provided, XCUIAccessibilityAuditTypeAll is used.
|
|
9
6
|
* @returns The list of found issues (or an empty list).
|
|
10
7
|
*/
|
|
11
|
-
async function macosPerformAccessibilityAudit(auditTypes) {
|
|
8
|
+
export async function macosPerformAccessibilityAudit(auditTypes) {
|
|
12
9
|
return (await this.wda.proxy.command('/wda/performAccessibilityAudit', 'POST', {
|
|
13
10
|
auditTypes,
|
|
14
11
|
}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"audit.js","sourceRoot":"","sources":["../../../lib/commands/audit.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"audit.js","sourceRoot":"","sources":["../../../lib/commands/audit.ts"],"names":[],"mappings":"AAUA;;;;;;GAMG;AACH,MAAM,CAAC,KAAK,UAAU,8BAA8B,CAElD,UAAqB;IAErB,OAAO,CAAC,MAAM,IAAI,CAAC,GAAG,CAAC,KAAK,CAAC,OAAO,CAAC,gCAAgC,EAAE,MAAM,EAAE;QAC7E,UAAU;KACX,CAAC,CAA6B,CAAC;AAClC,CAAC"}
|
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.NATIVE_VIDEO_CHUNK_ADDED_EVENT = exports.BIDI_EVENT_NAME = void 0;
|
|
4
|
-
exports.BIDI_EVENT_NAME = 'bidiEvent';
|
|
1
|
+
export const BIDI_EVENT_NAME = 'bidiEvent';
|
|
5
2
|
const DOMAIN = 'mac2';
|
|
6
|
-
|
|
3
|
+
export const NATIVE_VIDEO_CHUNK_ADDED_EVENT = `appium:${DOMAIN}.nativeVideoRecordingChunkAdded`;
|
|
7
4
|
//# sourceMappingURL=constants.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../lib/commands/bidi/constants.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../lib/commands/bidi/constants.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,eAAe,GAAG,WAAW,CAAC;AAC3C,MAAM,MAAM,GAAG,MAAM,CAAC;AACtB,MAAM,CAAC,MAAM,8BAA8B,GAAG,UAAU,MAAM,iCAAiC,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { NativeVideoChunkAddedEvent } from './types';
|
|
1
|
+
import type { NativeVideoChunkAddedEvent } from './types.js';
|
|
2
2
|
/**
|
|
3
3
|
* Converts the given UUID and video chunk payload into a NativeVideoChunkAddedEvent object.
|
|
4
4
|
* @param uuid The unique identifier for the video chunk.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"models.d.ts","sourceRoot":"","sources":["../../../../lib/commands/bidi/models.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,0BAA0B,EAAC,MAAM,
|
|
1
|
+
{"version":3,"file":"models.d.ts","sourceRoot":"","sources":["../../../../lib/commands/bidi/models.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,0BAA0B,EAAC,MAAM,YAAY,CAAC;AAG3D;;;;;GAKG;AACH,wBAAgB,4BAA4B,CAC1C,IAAI,EAAE,MAAM,EACZ,OAAO,EAAE,MAAM,GACd,0BAA0B,CAQ5B"}
|
|
@@ -1,16 +1,13 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.toNativeVideoChunkAddedEvent = toNativeVideoChunkAddedEvent;
|
|
4
|
-
const constants_1 = require("./constants");
|
|
1
|
+
import { NATIVE_VIDEO_CHUNK_ADDED_EVENT } from './constants.js';
|
|
5
2
|
/**
|
|
6
3
|
* Converts the given UUID and video chunk payload into a NativeVideoChunkAddedEvent object.
|
|
7
4
|
* @param uuid The unique identifier for the video chunk.
|
|
8
5
|
* @param payload The video chunk data as a Buffer.
|
|
9
6
|
* @returns A NativeVideoChunkAddedEvent object containing the UUID and encoded video chunk.
|
|
10
7
|
*/
|
|
11
|
-
function toNativeVideoChunkAddedEvent(uuid, payload) {
|
|
8
|
+
export function toNativeVideoChunkAddedEvent(uuid, payload) {
|
|
12
9
|
return {
|
|
13
|
-
method:
|
|
10
|
+
method: NATIVE_VIDEO_CHUNK_ADDED_EVENT,
|
|
14
11
|
params: {
|
|
15
12
|
uuid,
|
|
16
13
|
payload: payload.toString('base64'),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"models.js","sourceRoot":"","sources":["../../../../lib/commands/bidi/models.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"models.js","sourceRoot":"","sources":["../../../../lib/commands/bidi/models.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,8BAA8B,EAAC,MAAM,gBAAgB,CAAC;AAE9D;;;;;GAKG;AACH,MAAM,UAAU,4BAA4B,CAC1C,IAAY,EACZ,OAAe;IAEf,OAAO;QACL,MAAM,EAAE,8BAA8B;QACtC,MAAM,EAAE;YACN,IAAI;YACJ,OAAO,EAAE,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAC;SACpC;KACF,CAAC;AACJ,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"clipboard.d.ts","sourceRoot":"","sources":["../../../lib/commands/clipboard.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,UAAU,EAAC,MAAM,
|
|
1
|
+
{"version":3,"file":"clipboard.d.ts","sourceRoot":"","sources":["../../../lib/commands/clipboard.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,UAAU,EAAC,MAAM,cAAc,CAAC;AAE7C;;;;;;GAMG;AACH,wBAAsB,iBAAiB,CACrC,IAAI,EAAE,UAAU,EAChB,OAAO,EAAE,MAAM,EACf,WAAW,GAAE,MAAoB,GAChC,OAAO,CAAC,IAAI,CAAC,CAKf;AAED;;;;;;;GAOG;AACH,wBAAsB,iBAAiB,CACrC,IAAI,EAAE,UAAU,EAChB,WAAW,GAAE,MAAoB,GAChC,OAAO,CAAC,MAAM,CAAC,CAIjB"}
|
|
@@ -1,7 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.macosSetClipboard = macosSetClipboard;
|
|
4
|
-
exports.macosGetClipboard = macosGetClipboard;
|
|
5
1
|
/**
|
|
6
2
|
* Sets the content of the clipboard.
|
|
7
3
|
*
|
|
@@ -9,7 +5,7 @@ exports.macosGetClipboard = macosGetClipboard;
|
|
|
9
5
|
* @param contentType - The type of the content to set.
|
|
10
6
|
* Only `plaintext`, 'image and 'url' are supported.
|
|
11
7
|
*/
|
|
12
|
-
async function macosSetClipboard(content, contentType = 'plaintext') {
|
|
8
|
+
export async function macosSetClipboard(content, contentType = 'plaintext') {
|
|
13
9
|
await this.proxyCommand('/wda/setPasteboard', 'POST', {
|
|
14
10
|
content,
|
|
15
11
|
contentType,
|
|
@@ -23,7 +19,7 @@ async function macosSetClipboard(content, contentType = 'plaintext') {
|
|
|
23
19
|
* @returns {Promise<string>} The actual clipboard content encoded into base64 string.
|
|
24
20
|
* An empty string is returned if the clipboard contains no data for the given content type.
|
|
25
21
|
*/
|
|
26
|
-
async function macosGetClipboard(contentType = 'plaintext') {
|
|
22
|
+
export async function macosGetClipboard(contentType = 'plaintext') {
|
|
27
23
|
return /** @type {string} */ await this.proxyCommand('/wda/getPasteboard', 'POST', {
|
|
28
24
|
contentType,
|
|
29
25
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"clipboard.js","sourceRoot":"","sources":["../../../lib/commands/clipboard.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"clipboard.js","sourceRoot":"","sources":["../../../lib/commands/clipboard.ts"],"names":[],"mappings":"AAEA;;;;;;GAMG;AACH,MAAM,CAAC,KAAK,UAAU,iBAAiB,CAErC,OAAe,EACf,cAAsB,WAAW;IAEjC,MAAM,IAAI,CAAC,YAAY,CAAC,oBAAoB,EAAE,MAAM,EAAE;QACpD,OAAO;QACP,WAAW;KACZ,CAAC,CAAC;AACL,CAAC;AAED;;;;;;;GAOG;AACH,MAAM,CAAC,KAAK,UAAU,iBAAiB,CAErC,cAAsB,WAAW;IAEjC,OAAO,qBAAqB,CAAC,MAAM,IAAI,CAAC,YAAY,CAAC,oBAAoB,EAAE,MAAM,EAAE;QACjF,WAAW;KACZ,CAAC,CAAC;AACL,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"execute.d.ts","sourceRoot":"","sources":["../../../lib/commands/execute.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,UAAU,EAAC,MAAM,
|
|
1
|
+
{"version":3,"file":"execute.d.ts","sourceRoot":"","sources":["../../../lib/commands/execute.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,UAAU,EAAC,MAAM,cAAc,CAAC;AAC7C,OAAO,KAAK,EAAC,YAAY,EAAC,MAAM,eAAe,CAAC;AAIhD;;;;GAIG;AACH,wBAAsB,OAAO,CAC3B,IAAI,EAAE,UAAU,EAChB,MAAM,EAAE,MAAM,EACd,IAAI,CAAC,EAAE,SAAS,GAAG,EAAE,GAAG,YAAY,GACnC,OAAO,CAAC,GAAG,CAAC,CAOd"}
|
|
@@ -1,13 +1,10 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.execute = execute;
|
|
4
1
|
const EXECUTE_SCRIPT_PREFIX = 'macos:';
|
|
5
2
|
/**
|
|
6
3
|
*
|
|
7
4
|
* @param script - The script to execute
|
|
8
5
|
* @param args - Arguments to pass to the script
|
|
9
6
|
*/
|
|
10
|
-
async function execute(script, args) {
|
|
7
|
+
export async function execute(script, args) {
|
|
11
8
|
this.log.info(`Executing extension command '${script}'`);
|
|
12
9
|
const formattedScript = String(script)
|
|
13
10
|
.trim()
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"execute.js","sourceRoot":"","sources":["../../../lib/commands/execute.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"execute.js","sourceRoot":"","sources":["../../../lib/commands/execute.ts"],"names":[],"mappings":"AAGA,MAAM,qBAAqB,GAAG,QAAQ,CAAC;AAEvC;;;;GAIG;AACH,MAAM,CAAC,KAAK,UAAU,OAAO,CAE3B,MAAc,EACd,IAAoC;IAEpC,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,gCAAgC,MAAM,GAAG,CAAC,CAAC;IACzD,MAAM,eAAe,GAAG,MAAM,CAAC,MAAM,CAAC;SACnC,IAAI,EAAE;SACN,OAAO,CAAC,YAAY,EAAE,GAAG,qBAAqB,GAAG,CAAC,CAAC;IACtD,MAAM,gBAAgB,GAAG,2BAA2B,CAAC,IAAI,CAAC,CAAC;IAC3D,OAAO,MAAM,IAAI,CAAC,aAAa,CAAC,eAAe,EAAE,CAAC,gBAAgB,CAAC,CAAC,CAAC;AACvE,CAAC;AAED;;;;;GAKG;AACH,SAAS,2BAA2B,CAAC,IAAoC;IACvE,OAAO,CAAC,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC;AACtD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"find.d.ts","sourceRoot":"","sources":["../../../lib/commands/find.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAC,UAAU,EAAC,MAAM,
|
|
1
|
+
{"version":3,"file":"find.d.ts","sourceRoot":"","sources":["../../../lib/commands/find.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAC,UAAU,EAAC,MAAM,cAAc,CAAC;AAE7C;;;;;;;GAOG;AACH,wBAAsB,WAAW,CAC/B,IAAI,EAAE,UAAU,EAChB,QAAQ,EAAE,MAAM,EAChB,QAAQ,EAAE,MAAM,EAChB,IAAI,EAAE,OAAO,EACb,OAAO,CAAC,EAAE,MAAM,GACf,OAAO,CAAC,GAAG,CAAC,CAed"}
|
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.findElOrEls = findElOrEls;
|
|
4
|
-
const support_1 = require("appium/support");
|
|
1
|
+
import { util } from 'appium/support.js';
|
|
5
2
|
/**
|
|
6
3
|
* This is needed to make lookup by image working
|
|
7
4
|
*
|
|
@@ -10,8 +7,8 @@ const support_1 = require("appium/support");
|
|
|
10
7
|
* @param mult - Whether to find multiple elements
|
|
11
8
|
* @param context - Optional context element ID
|
|
12
9
|
*/
|
|
13
|
-
async function findElOrEls(strategy, selector, mult, context) {
|
|
14
|
-
const contextId = context ?
|
|
10
|
+
export async function findElOrEls(strategy, selector, mult, context) {
|
|
11
|
+
const contextId = context ? util.unwrapElement(context) : context;
|
|
15
12
|
const endpoint = `/element${contextId ? `/${contextId}/element` : ''}${mult ? 's' : ''}`;
|
|
16
13
|
let normalizedStrategy = strategy;
|
|
17
14
|
if (strategy === '-ios predicate string') {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"find.js","sourceRoot":"","sources":["../../../lib/commands/find.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"find.js","sourceRoot":"","sources":["../../../lib/commands/find.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,IAAI,EAAC,MAAM,mBAAmB,CAAC;AAGvC;;;;;;;GAOG;AACH,MAAM,CAAC,KAAK,UAAU,WAAW,CAE/B,QAAgB,EAChB,QAAgB,EAChB,IAAa,EACb,OAAgB;IAEhB,MAAM,SAAS,GAAG,OAAO,CAAC,CAAC,CAAC,IAAI,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,kBAAkB,GAAG,QAAQ,CAAC;IAClC,IAAI,QAAQ,KAAK,uBAAuB,EAAE,CAAC;QACzC,kBAAkB,GAAG,kBAAkB,CAAC;IAC1C,CAAC;SAAM,IAAI,QAAQ,KAAK,kBAAkB,EAAE,CAAC;QAC3C,kBAAkB,GAAG,aAAa,CAAC;IACrC,CAAC;IAED,OAAO,MAAM,IAAI,CAAC,GAAG,CAAC,KAAK,CAAC,OAAO,CAAC,QAAQ,EAAE,MAAM,EAAE;QACpD,KAAK,EAAE,kBAAkB;QACzB,KAAK,EAAE,QAAQ;KAChB,CAAC,CAAC;AACL,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gestures.d.ts","sourceRoot":"","sources":["../../../lib/commands/gestures.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAC,UAAU,EAAC,MAAM,
|
|
1
|
+
{"version":3,"file":"gestures.d.ts","sourceRoot":"","sources":["../../../lib/commands/gestures.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAC,UAAU,EAAC,MAAM,cAAc,CAAC;AAC7C,OAAO,KAAK,EAAC,UAAU,EAAC,MAAM,aAAa,CAAC;AAE5C;;;;;;;;;;;;;GAaG;AACH,wBAAsB,aAAa,CACjC,IAAI,EAAE,UAA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