appium-mac2-driver 2.2.2 → 3.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 +13 -0
- package/README.md +3 -3
- package/build/lib/commands/app-management.d.ts +2 -2
- package/build/lib/commands/app-management.d.ts.map +1 -1
- package/build/lib/commands/gestures.d.ts +15 -15
- package/build/lib/commands/gestures.d.ts.map +1 -1
- package/build/lib/commands/record-screen.d.ts +1 -2
- package/build/lib/commands/record-screen.d.ts.map +1 -1
- package/build/lib/driver.d.ts +4 -4
- package/build/lib/driver.d.ts.map +1 -1
- package/build/lib/wda-mac.d.ts +3 -4
- package/build/lib/wda-mac.d.ts.map +1 -1
- package/npm-shrinkwrap.json +482 -595
- package/package.json +11 -12
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,16 @@
|
|
|
1
|
+
## [3.0.0](https://github.com/appium/appium-mac2-driver/compare/v2.2.2...v3.0.0) (2025-08-17)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### ⚠ BREAKING CHANGES
|
|
5
|
+
|
|
6
|
+
* Required Node.js version has been bumped to ^20.19.0 || ^22.12.0 || >=24.0.0
|
|
7
|
+
* Required npm version has been bumped to >=10
|
|
8
|
+
* Required Appium server version has been bumped to >=3.0.0-rc.2
|
|
9
|
+
|
|
10
|
+
### Features
|
|
11
|
+
|
|
12
|
+
* Update server compatibility ([#342](https://github.com/appium/appium-mac2-driver/issues/342)) ([7aa4858](https://github.com/appium/appium-mac2-driver/commit/7aa4858f61d44adbcf65dbdd888064d3980128bd))
|
|
13
|
+
|
|
1
14
|
## [2.2.2](https://github.com/appium/appium-mac2-driver/compare/v2.2.1...v2.2.2) (2025-02-21)
|
|
2
15
|
|
|
3
16
|
|
package/README.md
CHANGED
|
@@ -11,9 +11,9 @@ This is Appium driver for automating macOS applications using Apple's [XCTest](h
|
|
|
11
11
|
The driver operates in scope of [W3C WebDriver protocol](https://www.w3.org/TR/webdriver/) with several custom extensions to cover operating-system specific scenarios.
|
|
12
12
|
The original idea and parts of the source code are borrowed from the Facebook's [WebDriverAgent](https://github.com/facebookarchive/WebDriverAgent) project.
|
|
13
13
|
|
|
14
|
-
> [!
|
|
15
|
-
> Since version
|
|
16
|
-
> command to add it to your
|
|
14
|
+
> [!IMPORTANT]
|
|
15
|
+
> Since major version *2.0.0*, this driver is only compatible with Appium 3. Use the `appium driver install mac2`
|
|
16
|
+
> command to add it to your dist.
|
|
17
17
|
|
|
18
18
|
|
|
19
19
|
## Requirements
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
* @param {import('@appium/types').StringRecord} [environment] Environment variables mapping.
|
|
14
14
|
* Custom variables are added to the default process environment.
|
|
15
15
|
*/
|
|
16
|
-
export function macosLaunchApp(this: import("../driver").Mac2Driver, bundleId?: string, path?: string, args?: string[], environment?: import("@appium/types").StringRecord): Promise<
|
|
16
|
+
export function macosLaunchApp(this: import("../driver").Mac2Driver, bundleId?: string, path?: string, args?: string[], environment?: import("@appium/types").StringRecord): Promise<any>;
|
|
17
17
|
/**
|
|
18
18
|
* Activate an app with given bundle identifier. An exception is thrown if the
|
|
19
19
|
* app cannot be found or is not running.
|
|
@@ -24,7 +24,7 @@ export function macosLaunchApp(this: import("../driver").Mac2Driver, bundleId?:
|
|
|
24
24
|
* @param {string} [path] Full path to the app bundle. Either this property
|
|
25
25
|
* or `bundleId` must be provided
|
|
26
26
|
*/
|
|
27
|
-
export function macosActivateApp(this: import("../driver").Mac2Driver, bundleId?: string, path?: string): Promise<
|
|
27
|
+
export function macosActivateApp(this: import("../driver").Mac2Driver, bundleId?: string, path?: string): Promise<any>;
|
|
28
28
|
/**
|
|
29
29
|
* Terminate an app with given bundle identifier. An exception is thrown if the
|
|
30
30
|
* app cannot be found.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app-management.d.ts","sourceRoot":"","sources":["../../../lib/commands/app-management.js"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AACH,gFATW,MAAM,SAEN,MAAM,SAEN,MAAM,EAAE,gBAER,OAAO,eAAe,EAAE,YAAY,
|
|
1
|
+
{"version":3,"file":"app-management.d.ts","sourceRoot":"","sources":["../../../lib/commands/app-management.js"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AACH,gFATW,MAAM,SAEN,MAAM,SAEN,MAAM,EAAE,gBAER,OAAO,eAAe,EAAE,YAAY,gBAe9C;AAED;;;;;;;;;GASG;AACH,kFALW,MAAM,SAEN,MAAM,gBAKhB;AAED;;;;;;;;;;;GAWG;AACH,mFAPW,MAAM,SAEN,MAAM,GAEJ,OAAO,CAAC,OAAO,CAAC,CAO5B;AAED;;;;;;;;;;;;GAYG;AACH,oFARW,MAAM,SAEN,MAAM,GAEJ,OAAO,CAAC,MAAM,CAAC,CAQ3B;yBAGY,OAAO,WAAW,EAAE,UAAU"}
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
* https://developer.apple.com/documentation/xctest/xcuikeymodifierflags
|
|
14
14
|
* for more details.
|
|
15
15
|
*/
|
|
16
|
-
export function macosSetValue(this: import("../driver").Mac2Driver, elementId: string, value?: any, text?: string, keyModifierFlags?: number): Promise<
|
|
16
|
+
export function macosSetValue(this: import("../driver").Mac2Driver, elementId: string, value?: any, text?: string, keyModifierFlags?: number): Promise<any>;
|
|
17
17
|
/**
|
|
18
18
|
* Perform click gesture on an element or by relative/absolute coordinates
|
|
19
19
|
*
|
|
@@ -29,7 +29,7 @@ export function macosSetValue(this: import("../driver").Mac2Driver, elementId: s
|
|
|
29
29
|
* https://developer.apple.com/documentation/xctest/xcuikeymodifierflags
|
|
30
30
|
* for more details
|
|
31
31
|
*/
|
|
32
|
-
export function macosClick(this: import("../driver").Mac2Driver, elementId?: string, x?: number, y?: number, keyModifierFlags?: number): Promise<
|
|
32
|
+
export function macosClick(this: import("../driver").Mac2Driver, elementId?: string, x?: number, y?: number, keyModifierFlags?: number): Promise<any>;
|
|
33
33
|
/**
|
|
34
34
|
* Perform scroll gesture on an element or by relative/absolute coordinates
|
|
35
35
|
*
|
|
@@ -47,7 +47,7 @@ export function macosClick(this: import("../driver").Mac2Driver, elementId?: str
|
|
|
47
47
|
* https://developer.apple.com/documentation/xctest/xcuikeymodifierflags
|
|
48
48
|
* for more details
|
|
49
49
|
*/
|
|
50
|
-
export function macosScroll(this: import("../driver").Mac2Driver, deltaX: number, deltaY: number, elementId?: string, x?: number, y?: number, keyModifierFlags?: number): Promise<
|
|
50
|
+
export function macosScroll(this: import("../driver").Mac2Driver, deltaX: number, deltaY: number, elementId?: string, x?: number, y?: number, keyModifierFlags?: number): Promise<any>;
|
|
51
51
|
/**
|
|
52
52
|
* Perform swipe gesture on an element
|
|
53
53
|
*
|
|
@@ -69,7 +69,7 @@ export function macosScroll(this: import("../driver").Mac2Driver, deltaX: number
|
|
|
69
69
|
* https://developer.apple.com/documentation/xctest/xcuikeymodifierflags
|
|
70
70
|
* for more details
|
|
71
71
|
*/
|
|
72
|
-
export function macosSwipe(this: import("../driver").Mac2Driver, direction: "up" | "down" | "left" | "right", elementId?: string, x?: number, y?: number, velocity?: number, keyModifierFlags?: number): Promise<
|
|
72
|
+
export function macosSwipe(this: import("../driver").Mac2Driver, direction: "up" | "down" | "left" | "right", elementId?: string, x?: number, y?: number, velocity?: number, keyModifierFlags?: number): Promise<any>;
|
|
73
73
|
/**
|
|
74
74
|
* Perform right click gesture on an element or by relative/absolute coordinates
|
|
75
75
|
*
|
|
@@ -85,7 +85,7 @@ export function macosSwipe(this: import("../driver").Mac2Driver, direction: "up"
|
|
|
85
85
|
* https://developer.apple.com/documentation/xctest/xcuikeymodifierflags
|
|
86
86
|
* for more details
|
|
87
87
|
*/
|
|
88
|
-
export function macosRightClick(this: import("../driver").Mac2Driver, elementId?: string, x?: number, y?: number, keyModifierFlags?: number): Promise<
|
|
88
|
+
export function macosRightClick(this: import("../driver").Mac2Driver, elementId?: string, x?: number, y?: number, keyModifierFlags?: number): Promise<any>;
|
|
89
89
|
/**
|
|
90
90
|
* Perform hover gesture on an element or by relative/absolute coordinates
|
|
91
91
|
*
|
|
@@ -101,7 +101,7 @@ export function macosRightClick(this: import("../driver").Mac2Driver, elementId?
|
|
|
101
101
|
* https://developer.apple.com/documentation/xctest/xcuikeymodifierflags
|
|
102
102
|
* for more details
|
|
103
103
|
*/
|
|
104
|
-
export function macosHover(this: import("../driver").Mac2Driver, elementId?: string, x?: number, y?: number, keyModifierFlags?: number): Promise<
|
|
104
|
+
export function macosHover(this: import("../driver").Mac2Driver, elementId?: string, x?: number, y?: number, keyModifierFlags?: number): Promise<any>;
|
|
105
105
|
/**
|
|
106
106
|
* Perform double click gesture on an element or by relative/absolute coordinates
|
|
107
107
|
*
|
|
@@ -117,7 +117,7 @@ export function macosHover(this: import("../driver").Mac2Driver, elementId?: str
|
|
|
117
117
|
* https://developer.apple.com/documentation/xctest/xcuikeymodifierflags
|
|
118
118
|
* for more details
|
|
119
119
|
*/
|
|
120
|
-
export function macosDoubleClick(this: import("../driver").Mac2Driver, elementId?: string, x?: number, y?: number, keyModifierFlags?: number): Promise<
|
|
120
|
+
export function macosDoubleClick(this: import("../driver").Mac2Driver, elementId?: string, x?: number, y?: number, keyModifierFlags?: number): Promise<any>;
|
|
121
121
|
/**
|
|
122
122
|
* Perform long click and drag gesture on an element or by absolute coordinates
|
|
123
123
|
*
|
|
@@ -138,7 +138,7 @@ export function macosDoubleClick(this: import("../driver").Mac2Driver, elementId
|
|
|
138
138
|
* https://developer.apple.com/documentation/xctest/xcuikeymodifierflags
|
|
139
139
|
* for more details
|
|
140
140
|
*/
|
|
141
|
-
export function macosClickAndDrag(this: import("../driver").Mac2Driver, duration: number, sourceElementId?: string, destinationElementId?: string, startX?: number, startY?: number, endX?: number, endY?: number, keyModifierFlags?: number): Promise<
|
|
141
|
+
export function macosClickAndDrag(this: import("../driver").Mac2Driver, duration: number, sourceElementId?: string, destinationElementId?: string, startX?: number, startY?: number, endX?: number, endY?: number, keyModifierFlags?: number): Promise<any>;
|
|
142
142
|
/**
|
|
143
143
|
* Perform long click, drag and hold gesture on an element or by absolute coordinates
|
|
144
144
|
*
|
|
@@ -163,7 +163,7 @@ export function macosClickAndDrag(this: import("../driver").Mac2Driver, duration
|
|
|
163
163
|
* applied while drag is performed. See
|
|
164
164
|
* https://developer.apple.com/documentation/xctest/xcuikeymodifierflags
|
|
165
165
|
* for more details */
|
|
166
|
-
export function macosClickAndDragAndHold(this: import("../driver").Mac2Driver, duration: number, holdDuration: number, sourceElementId?: string, destinationElementId?: string, startX?: number, startY?: number, endX?: number, endY?: number, velocity?: number, keyModifierFlags?: number): Promise<
|
|
166
|
+
export function macosClickAndDragAndHold(this: import("../driver").Mac2Driver, duration: number, holdDuration: number, sourceElementId?: string, destinationElementId?: string, startX?: number, startY?: number, endX?: number, endY?: number, velocity?: number, keyModifierFlags?: number): Promise<any>;
|
|
167
167
|
/**
|
|
168
168
|
* Send keys to the given element or to the application under test
|
|
169
169
|
*
|
|
@@ -177,7 +177,7 @@ export function macosClickAndDragAndHold(this: import("../driver").Mac2Driver, d
|
|
|
177
177
|
* If unset then keys are sent to the current application
|
|
178
178
|
* under test.
|
|
179
179
|
*/
|
|
180
|
-
export function macosKeys(this: import("../driver").Mac2Driver, keys: (import("../types").KeyOptions | string)[], elementId?: string): Promise<
|
|
180
|
+
export function macosKeys(this: import("../driver").Mac2Driver, keys: (import("../types").KeyOptions | string)[], elementId?: string): Promise<any>;
|
|
181
181
|
/**
|
|
182
182
|
* Perform tap gesture on a Touch Bar element or by relative/absolute coordinates
|
|
183
183
|
*
|
|
@@ -193,7 +193,7 @@ export function macosKeys(this: import("../driver").Mac2Driver, keys: (import(".
|
|
|
193
193
|
* https://developer.apple.com/documentation/xctest/xcuikeymodifierflags
|
|
194
194
|
* for more details
|
|
195
195
|
*/
|
|
196
|
-
export function macosTap(this: import("../driver").Mac2Driver, elementId?: string, x?: number, y?: number, keyModifierFlags?: number): Promise<
|
|
196
|
+
export function macosTap(this: import("../driver").Mac2Driver, elementId?: string, x?: number, y?: number, keyModifierFlags?: number): Promise<any>;
|
|
197
197
|
/**
|
|
198
198
|
* Perform tap gesture on a Touch Bar element or by relative/absolute coordinates
|
|
199
199
|
*
|
|
@@ -209,7 +209,7 @@ export function macosTap(this: import("../driver").Mac2Driver, elementId?: strin
|
|
|
209
209
|
* https://developer.apple.com/documentation/xctest/xcuikeymodifierflags
|
|
210
210
|
* for more details
|
|
211
211
|
*/
|
|
212
|
-
export function macosDoubleTap(this: import("../driver").Mac2Driver, elementId?: string, x?: number, y?: number, keyModifierFlags?: number): Promise<
|
|
212
|
+
export function macosDoubleTap(this: import("../driver").Mac2Driver, elementId?: string, x?: number, y?: number, keyModifierFlags?: number): Promise<any>;
|
|
213
213
|
/**
|
|
214
214
|
* Perform press gesture on a Touch Bar element or by relative/absolute coordinates
|
|
215
215
|
*
|
|
@@ -226,7 +226,7 @@ export function macosDoubleTap(this: import("../driver").Mac2Driver, elementId?:
|
|
|
226
226
|
* https://developer.apple.com/documentation/xctest/xcuikeymodifierflags
|
|
227
227
|
* for more details
|
|
228
228
|
*/
|
|
229
|
-
export function macosPressAndHold(this: import("../driver").Mac2Driver, duration: number, elementId?: string, x?: number, y?: number, keyModifierFlags?: number): Promise<
|
|
229
|
+
export function macosPressAndHold(this: import("../driver").Mac2Driver, duration: number, elementId?: string, x?: number, y?: number, keyModifierFlags?: number): Promise<any>;
|
|
230
230
|
/**
|
|
231
231
|
* Perform long press and drag gesture on a Touch Bar element or by absolute coordinates
|
|
232
232
|
*
|
|
@@ -247,7 +247,7 @@ export function macosPressAndHold(this: import("../driver").Mac2Driver, duration
|
|
|
247
247
|
* https://developer.apple.com/documentation/xctest/xcuikeymodifierflags
|
|
248
248
|
* for more details
|
|
249
249
|
*/
|
|
250
|
-
export function macosPressAndDrag(this: import("../driver").Mac2Driver, duration: number, sourceElementId?: string, destinationElementId?: string, startX?: number, startY?: number, endX?: number, endY?: number, keyModifierFlags?: number): Promise<
|
|
250
|
+
export function macosPressAndDrag(this: import("../driver").Mac2Driver, duration: number, sourceElementId?: string, destinationElementId?: string, startX?: number, startY?: number, endX?: number, endY?: number, keyModifierFlags?: number): Promise<any>;
|
|
251
251
|
/**
|
|
252
252
|
* Perform press, drag and hold gesture on a Touch Bar element or by absolute Touch Bar coordinates
|
|
253
253
|
*
|
|
@@ -273,6 +273,6 @@ export function macosPressAndDrag(this: import("../driver").Mac2Driver, duration
|
|
|
273
273
|
* https://developer.apple.com/documentation/xctest/xcuikeymodifierflags
|
|
274
274
|
* for more details
|
|
275
275
|
*/
|
|
276
|
-
export function macosPressAndDragAndHold(this: import("../driver").Mac2Driver, duration: number, holdDuration: number, sourceElementId?: string, destinationElementId?: string, startX?: number, startY?: number, endX?: number, endY?: number, velocity?: number, keyModifierFlags?: number): Promise<
|
|
276
|
+
export function macosPressAndDragAndHold(this: import("../driver").Mac2Driver, duration: number, holdDuration: number, sourceElementId?: string, destinationElementId?: string, startX?: number, startY?: number, endX?: number, endY?: number, velocity?: number, keyModifierFlags?: number): Promise<any>;
|
|
277
277
|
export type Mac2Driver = import("../driver").Mac2Driver;
|
|
278
278
|
//# sourceMappingURL=gestures.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gestures.d.ts","sourceRoot":"","sources":["../../../lib/commands/gestures.js"],"names":[],"mappings":"AAIA;;;;;;;;;;;;;;GAcG;AACH,+EARW,MAAM,UACN,GAAG,SACH,MAAM,qBACN,MAAM,
|
|
1
|
+
{"version":3,"file":"gestures.d.ts","sourceRoot":"","sources":["../../../lib/commands/gestures.js"],"names":[],"mappings":"AAIA;;;;;;;;;;;;;;GAcG;AACH,+EARW,MAAM,UACN,GAAG,SACH,MAAM,qBACN,MAAM,gBAUhB;AAGD;;;;;;;;;;;;;;GAcG;AACH,6EAXW,MAAM,MAIN,MAAM,MACN,MAAM,qBACN,MAAM,gBAYhB;AAED;;;;;;;;;;;;;;;;GAgBG;AACH,0EAbW,MAAM,UACN,MAAM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,MAAM,oBACN,MAAM,yBAGN,MAAM,WAGN,MAAM,WACN,MAAM,SACN,MAAM,SACN,MAAM,qBACN,MAAM,gBA4BhB;AAED;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,yFArBW,MAAM,gBACN,MAAM,oBACN,MAAM,yBAGN,MAAM,WAGN,MAAM,WACN,MAAM,SACN,MAAM,SACN,MAAM,aACN,MAAM,qBAIN,MAAM,gBA+BhB;yBAwCY,OAAO,WAAW,EAAE,UAAU"}
|
|
@@ -120,7 +120,7 @@ declare class ScreenRecorder {
|
|
|
120
120
|
constructor(videoPath: string, log: import("@appium/types").AppiumLogger, opts: ScreenRecorderOptions);
|
|
121
121
|
_log: import("@appium/types").AppiumLogger;
|
|
122
122
|
_videoPath: string;
|
|
123
|
-
_process:
|
|
123
|
+
_process: any;
|
|
124
124
|
_fps: number;
|
|
125
125
|
_deviceId: string | number;
|
|
126
126
|
_captureCursor: boolean | undefined;
|
|
@@ -134,6 +134,5 @@ declare class ScreenRecorder {
|
|
|
134
134
|
start(): Promise<void>;
|
|
135
135
|
stop(force?: boolean): Promise<any>;
|
|
136
136
|
}
|
|
137
|
-
import { SubProcess } from 'teen_process';
|
|
138
137
|
export {};
|
|
139
138
|
//# sourceMappingURL=record-screen.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"record-screen.d.ts","sourceRoot":"","sources":["../../../lib/commands/record-screen.js"],"names":[],"mappings":"AAgLA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AACH,qFA3BW,MAAM,GAAC,MAAM,cAGb,MAAM,GAAC,MAAM,gBAEb,MAAM,QAIN,MAAM,GAAC,MAAM,WAEb,WAAW,GAAC,WAAW,GAAC,UAAU,GAAC,QAAQ,GAAC,MAAM,GAAC,QAAQ,GAAC,MAAM,GAAC,QAAQ,GAAC,UAAU,kBAOtF,OAAO,kBAEP,OAAO,iBAEP,OAAO,iBAkDjB;;IAhFD;;;;;;;;;;;;;;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AkCG;IACH,4DA3BW,MAAM,GAAC,MAAM,cAGb,MAAM,GAAC,MAAM,gBAEb,MAAM,QAIN,MAAM,GAAC,MAAM,WAEb,WAAW,GAAC,WAAW,GAAC,UAAU,GAAC,QAAQ,GAAC,MAAM,GAAC,QAAQ,GAAC,MAAM,GAAC,QAAQ,GAAC,UAAU,kBAOtF,OAAO,kBAEP,OAAO,iBAEP,OAAO,EAkDjB;IArBC,gCAA2B;;AAuB7B;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,uFAtBW,MAAM,SAMN,MAAM,SACN,MAAM,WACN,MAAM,YACN,OAAO,eAAe,EAAE,YAAY,GAAC,CAAC,MAAM,EAAE,GAAG,CAAC,EAAE,kBAEpD,MAAM,eAEN,OAAO,eAAe,EAAE,YAAY,GAAC,CAAC,MAAM,EAAE,MAAM,CAAC,EAAE,GAErD,OAAO,CAAC,MAAM,CAAC,CAoC3B;yBAGY,OAAO,WAAW,EAAE,UAAU;;;cAM7B,MAAM,GAAC,MAAM;;;;;;;AAnS3B;IACE;;;;;OAKG;IACH,uBAJW,MAAM,OACN,OAAO,eAAe,EAAE,YAAY,QACpC,qBAAqB,EAe/B;IAZC,2CAAe;IACf,mBAA2B;IAC3B,cAAoB;IACpB,aAA+D;IAC/D,2BAA8B;IAC9B,oCAAwC;IACxC,oCAAwC;IACxC,gBAA4C;IAC5C,iCAAoC;IACpC,mBAEsB;IAGxB,gCAEC;IAED,qBAEC;IAED,uCAaC;IAED,uBAmEC;IAED,oCA4BC;CACF"}
|
package/build/lib/driver.d.ts
CHANGED
|
@@ -252,16 +252,16 @@ export class Mac2Driver extends BaseDriver<any, import("@appium/types").StringRe
|
|
|
252
252
|
};
|
|
253
253
|
};
|
|
254
254
|
settings: DeviceSettings<{}>;
|
|
255
|
-
onSettingsUpdate(key: any, value: any): Promise<
|
|
255
|
+
onSettingsUpdate(key: any, value: any): Promise<any>;
|
|
256
256
|
resetState(): void;
|
|
257
257
|
proxyReqRes: any;
|
|
258
258
|
_screenRecorder: any;
|
|
259
259
|
proxyActive(sessionId: any): boolean;
|
|
260
260
|
getProxyAvoidList(sessionId: any): import("@appium/types").RouteMatcher[];
|
|
261
261
|
canProxy(): boolean;
|
|
262
|
-
proxyCommand(url: any, method: any, body?: null): Promise<
|
|
263
|
-
getStatus(): Promise<
|
|
264
|
-
getWindowRect(): Promise<
|
|
262
|
+
proxyCommand(url: any, method: any, body?: null): Promise<any>;
|
|
263
|
+
getStatus(): Promise<any>;
|
|
264
|
+
getWindowRect(): Promise<any>;
|
|
265
265
|
createSession(...args: any[]): Promise<(string | import("@appium/types").DriverCaps<any>)[]>;
|
|
266
266
|
deleteSession(): Promise<void>;
|
|
267
267
|
macosLaunchApp: typeof appManagemenetCommands.macosLaunchApp;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"driver.d.ts","sourceRoot":"","sources":["../../lib/driver.js"],"names":[],"mappings":"AA8BA;IAUE;;;;;;;;;;;;;;;;;MAAmC;IACnC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAA2C;IAE3C,uBAqBC;IAjCD,sBAAsB;IACtB,eADW,OAAO,CACJ;IAEd,+CAA+C;IAC/C,KADW,OAAO,WAAW,EAAE,YAAY,CACvC;IAEJ,yEAAyE;IACzE,yBADW,6BAA6B,CAAC,4BAA4B,CAC7C;IAQtB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAAkD;IAiBlD,6BAAwE;IAG1E,
|
|
1
|
+
{"version":3,"file":"driver.d.ts","sourceRoot":"","sources":["../../lib/driver.js"],"names":[],"mappings":"AA8BA;IAUE;;;;;;;;;;;;;;;;;MAAmC;IACnC;;;;;;;;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AAuB;sCACrB,0BAA0B;oCAC5B,wBAAwB;gCAC5B,mBAAmB"}
|
package/build/lib/wda-mac.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export class WDAMacProxy extends JWProxy {
|
|
2
2
|
/** @type {boolean|undefined} */
|
|
3
3
|
didProcessExit: boolean | undefined;
|
|
4
|
-
proxyCommand(url: any, method: any, body?: null): Promise<any>;
|
|
4
|
+
proxyCommand(url: any, method: any, body?: null): Promise<[import("@appium/types").ProxyResponse<any>, any]>;
|
|
5
5
|
}
|
|
6
6
|
export class WDAMacServer {
|
|
7
7
|
/** @type {WDAMacProxy} */
|
|
@@ -61,9 +61,9 @@ declare class WDAMacProcess {
|
|
|
61
61
|
port: number;
|
|
62
62
|
host: string;
|
|
63
63
|
bootstrapRoot: string;
|
|
64
|
-
proc:
|
|
64
|
+
proc: any;
|
|
65
65
|
get isRunning(): boolean;
|
|
66
|
-
get pid():
|
|
66
|
+
get pid(): any;
|
|
67
67
|
listChildrenPids(): Promise<string[]>;
|
|
68
68
|
cleanupProjectIfFresh(): Promise<void>;
|
|
69
69
|
hasSameOpts({ showServerLogs, systemPort, systemHost, bootstrapRoot }: {
|
|
@@ -77,5 +77,4 @@ declare class WDAMacProcess {
|
|
|
77
77
|
kill(): Promise<void>;
|
|
78
78
|
}
|
|
79
79
|
declare const WDA_MAC_SERVER: WDAMacServer;
|
|
80
|
-
import { SubProcess } from 'teen_process';
|
|
81
80
|
//# sourceMappingURL=wda-mac.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wda-mac.d.ts","sourceRoot":"","sources":["../../lib/wda-mac.js"],"names":[],"mappings":"AAoDA;IACE,gCAAgC;IAChC,gBADW,OAAO,GAAC,SAAS,CACb;IAEf
|
|
1
|
+
{"version":3,"file":"wda-mac.d.ts","sourceRoot":"","sources":["../../lib/wda-mac.js"],"names":[],"mappings":"AAoDA;IACE,gCAAgC;IAChC,gBADW,OAAO,GAAC,SAAS,CACb;IAEf,6GAOC;CACF;AAuOD;IACE,0BAA0B;IAC1B,OADW,WAAW,CAChB;IAGJ,8BAAmB;IACnB,+BAAgD;IAKhD,kCAAqC;IAGvC,sDAcC;IAGD;;;;;;;OAOG;IAEH;;;;;;OAMG;IACH;;;;gBAbc,MAAM;;;;cACN,MAAM;;;;cACN,MAAM;;;;cACN,MAAM;MAuCnB;IAED;;;;OAIG;IACH,mBAHW,OAAO,eAAe,EAAE,YAAY,SACpC,cAAc,iBAsFxB;IAED,6BAaC;CACF;;;;;wBAzd+B,eAAe;AA6D/C;IAEI,wBAA8C;IAC9C,aAA+B;IAC/B,aAA+B;IAC/B,sBAAqC;IACrC,UAAgB;IAGlB,yBAEC;IAED,eAEC;IAED,sCAEC;IAED,uCAyDC;IAED;;;;;gBAmBC;IAED,kCA+FC;IAED,sBAYC;IAED,sBAcC;CACF;AA2LD,2CAA0C"}
|