appium-uiautomator2-driver 3.5.5 → 3.5.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +12 -0
- package/build/lib/commands/actions.d.ts +3 -3
- package/build/lib/commands/actions.d.ts.map +1 -1
- package/build/lib/commands/actions.js +5 -6
- package/build/lib/commands/actions.js.map +1 -1
- package/build/lib/commands/alert.d.ts +1 -1
- package/build/lib/commands/alert.d.ts.map +1 -1
- package/build/lib/commands/alert.js +5 -6
- package/build/lib/commands/alert.js.map +1 -1
- 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 +2 -3
- package/build/lib/commands/app-management.js.map +1 -1
- package/build/lib/commands/app-strings.d.ts +3 -3
- package/build/lib/commands/app-strings.d.ts.map +1 -1
- package/build/lib/commands/app-strings.js +1 -2
- package/build/lib/commands/app-strings.js.map +1 -1
- package/build/lib/commands/battery.d.ts +3 -3
- package/build/lib/commands/battery.d.ts.map +1 -1
- package/build/lib/commands/battery.js +1 -2
- package/build/lib/commands/battery.js.map +1 -1
- package/build/lib/commands/element.d.ts +7 -7
- package/build/lib/commands/element.d.ts.map +1 -1
- package/build/lib/commands/element.js +16 -17
- package/build/lib/commands/element.js.map +1 -1
- package/build/lib/commands/execute.d.ts +2 -2
- 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 +3 -3
- 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 +9 -9
- package/build/lib/commands/gestures.d.ts.map +1 -1
- package/build/lib/commands/gestures.js +11 -12
- package/build/lib/commands/gestures.js.map +1 -1
- package/build/lib/commands/keyboard.d.ts +4 -4
- package/build/lib/commands/keyboard.d.ts.map +1 -1
- package/build/lib/commands/keyboard.js +6 -7
- package/build/lib/commands/keyboard.js.map +1 -1
- package/build/lib/commands/misc.d.ts +5 -5
- package/build/lib/commands/misc.d.ts.map +1 -1
- package/build/lib/commands/misc.js +7 -8
- package/build/lib/commands/misc.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 +3 -4
- package/build/lib/commands/navigation.js.map +1 -1
- package/build/lib/commands/screenshot.d.ts +2 -2
- package/build/lib/commands/screenshot.d.ts.map +1 -1
- package/build/lib/commands/screenshot.js +4 -5
- package/build/lib/commands/screenshot.js.map +1 -1
- package/build/lib/commands/viewport.d.ts +5 -5
- package/build/lib/commands/viewport.d.ts.map +1 -1
- package/build/lib/commands/viewport.js +7 -8
- package/build/lib/commands/viewport.js.map +1 -1
- package/build/lib/css-converter.d.ts +4 -4
- package/build/lib/driver.d.ts.map +1 -1
- package/build/lib/helpers.d.ts +1 -1
- package/build/lib/helpers.d.ts.map +1 -1
- package/build/lib/helpers.js +2 -3
- package/build/lib/helpers.js.map +1 -1
- package/build/lib/uiautomator2.d.ts +39 -2
- package/build/lib/uiautomator2.d.ts.map +1 -1
- package/build/lib/uiautomator2.js +43 -7
- package/build/lib/uiautomator2.js.map +1 -1
- package/build/tsconfig.tsbuildinfo +1 -1
- package/lib/uiautomator2.js +47 -7
- package/npm-shrinkwrap.json +124 -34
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"find.d.ts","sourceRoot":"","sources":["../../../lib/commands/find.js"],"names":[],"mappings":"AASA;;;;;;;GAOG;AACH,gGAHW,OAAO,uBAAuB,EAAE,eAAe,GAC7C,
|
|
1
|
+
{"version":3,"file":"find.d.ts","sourceRoot":"","sources":["../../../lib/commands/find.js"],"names":[],"mappings":"AASA;;;;;;;GAOG;AACH,gGAHW,OAAO,uBAAuB,EAAE,eAAe,GAC7C,OAAO,CAAC,OAAO,GAAG,OAAO,EAAE,CAAC,CA0BxC;sBAGY,OAAO,eAAe,EAAE,OAAO;wCAC/B,OAAO,WAAW,EAAE,yBAAyB"}
|
|
@@ -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.doFindElementOrEls =
|
|
6
|
+
exports.doFindElementOrEls = doFindElementOrEls;
|
|
7
7
|
const css_converter_1 = __importDefault(require("../css-converter"));
|
|
8
8
|
// we override the xpath search for this first-visible-child selector, which
|
|
9
9
|
// looks like /*[@firstVisible="true"]
|
|
@@ -34,7 +34,6 @@ async function doFindElementOrEls(params) {
|
|
|
34
34
|
}
|
|
35
35
|
return /** @type {Element|Element[]} */ (await uiautomator2.jwproxy.command(`/element${params.multiple ? 's' : ''}`, 'POST', params));
|
|
36
36
|
}
|
|
37
|
-
exports.doFindElementOrEls = doFindElementOrEls;
|
|
38
37
|
/**
|
|
39
38
|
* @typedef {import('@appium/types').Element} Element
|
|
40
39
|
* @typedef {import('../driver').AndroidUiautomator2Driver} AndroidUiautomator2Driver
|
|
@@ -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":";;;;;AAiBA,gDAwBC;AAzCD,qEAA4C;AAE5C,4EAA4E;AAC5E,sCAAsC;AACtC,MAAM,yBAAyB,GAAG,uCAAuC,CAAC;AAE1E,MAAM,oBAAoB,GAAG,uCAAuC,CAAC;AACrE,MAAM,mBAAmB,GAAG,mCAAmC,CAAC;AAEhE;;;;;;;GAOG;AACI,KAAK,UAAU,kBAAkB,CAAC,MAAM;IAC7C,MAAM,YAAY,GAAG,2DAA2D,CAAC,CAC/E,IAAI,CAAC,YAAY,CAClB,CAAC;IACF,IAAI,MAAM,CAAC,QAAQ,KAAK,OAAO,IAAI,yBAAyB,CAAC,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,EAAE,CAAC;QACnF,IAAI,SAAS,GAAG,MAAM,CAAC,OAAO,CAAC;QAC/B,OAAO,sBAAsB,CAAC,CAC5B,MAAM,YAAY,CAAC,OAAO,CAAC,OAAO,CAAC,mBAAmB,SAAS,gBAAgB,EAAE,KAAK,EAAE,EAAE,CAAC,CAC5F,CAAC;IACJ,CAAC;IACD,IAAI,MAAM,CAAC,QAAQ,KAAK,OAAO,IAAI,oBAAoB,CAAC,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,EAAE,CAAC;QAC9E,MAAM,CAAC,QAAQ,GAAG,sBAAsB,CAAC;QACzC,MAAM,CAAC,QAAQ,GAAG,mBAAmB,CAAC;IACxC,CAAC;IACD,IAAI,MAAM,CAAC,QAAQ,KAAK,cAAc,EAAE,CAAC;QACvC,MAAM,CAAC,QAAQ,GAAG,sBAAsB,CAAC;QACzC,MAAM,CAAC,QAAQ,GAAG,IAAI,uBAAY,CAChC,MAAM,CAAC,QAAQ,EACf,IAAI,CAAC,IAAI,CAAC,UAAU,CACrB,CAAC,qBAAqB,EAAE,CAAC;IAC5B,CAAC;IACD,OAAO,gCAAgC,CAAC,CACtC,MAAM,YAAY,CAAC,OAAO,CAAC,OAAO,CAAC,WAAW,MAAM,CAAC,QAAQ,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,EAAE,MAAM,EAAE,MAAM,CAAC,CAC5F,CAAC;AACJ,CAAC;AAED;;;GAGG"}
|
|
@@ -31,7 +31,7 @@ export function mobileDoubleClickGesture(this: import("../driver").AndroidUiauto
|
|
|
31
31
|
* @returns {Promise<void>}
|
|
32
32
|
* @throws {Error} if provided options are not valid
|
|
33
33
|
*/
|
|
34
|
-
export function mobileDragGesture(this: import("../driver").AndroidUiautomator2Driver, opts: import(
|
|
34
|
+
export function mobileDragGesture(this: import("../driver").AndroidUiautomator2Driver, opts: import("./types").DragOptions): Promise<void>;
|
|
35
35
|
/**
|
|
36
36
|
* Drags to the specified location.
|
|
37
37
|
*
|
|
@@ -40,7 +40,7 @@ export function mobileDragGesture(this: import("../driver").AndroidUiautomator2D
|
|
|
40
40
|
* @param {import('./types').FlingOptions} opts
|
|
41
41
|
* @returns {Promise<boolean>} True if the object can still scroll in the given direction.
|
|
42
42
|
*/
|
|
43
|
-
export function mobileFlingGesture(this: import("../driver").AndroidUiautomator2Driver, opts: import(
|
|
43
|
+
export function mobileFlingGesture(this: import("../driver").AndroidUiautomator2Driver, opts: import("./types").FlingOptions): Promise<boolean>;
|
|
44
44
|
/**
|
|
45
45
|
* Performs a pinch close gesture.
|
|
46
46
|
* @this {AndroidUiautomator2Driver}
|
|
@@ -48,7 +48,7 @@ export function mobileFlingGesture(this: import("../driver").AndroidUiautomator2
|
|
|
48
48
|
* @returns {Promise<void>}
|
|
49
49
|
* @throws {Error} if provided options are not valid
|
|
50
50
|
*/
|
|
51
|
-
export function mobilePinchCloseGesture(this: import("../driver").AndroidUiautomator2Driver, opts: import(
|
|
51
|
+
export function mobilePinchCloseGesture(this: import("../driver").AndroidUiautomator2Driver, opts: import("./types").PinchOptions): Promise<void>;
|
|
52
52
|
/**
|
|
53
53
|
* Performs a pinch open gesture.
|
|
54
54
|
* @this {AndroidUiautomator2Driver}
|
|
@@ -56,7 +56,7 @@ export function mobilePinchCloseGesture(this: import("../driver").AndroidUiautom
|
|
|
56
56
|
* @returns {Promise<void>}
|
|
57
57
|
* @throws {Error} if provided options are not valid
|
|
58
58
|
*/
|
|
59
|
-
export function mobilePinchOpenGesture(this: import("../driver").AndroidUiautomator2Driver, opts: import(
|
|
59
|
+
export function mobilePinchOpenGesture(this: import("../driver").AndroidUiautomator2Driver, opts: import("./types").PinchOptions): Promise<void>;
|
|
60
60
|
/**
|
|
61
61
|
* Performs a swipe gesture.
|
|
62
62
|
* @this {AndroidUiautomator2Driver}
|
|
@@ -64,7 +64,7 @@ export function mobilePinchOpenGesture(this: import("../driver").AndroidUiautoma
|
|
|
64
64
|
* @returns {Promise<void>}
|
|
65
65
|
* @throws {Error} if provided options are not valid
|
|
66
66
|
*/
|
|
67
|
-
export function mobileSwipeGesture(this: import("../driver").AndroidUiautomator2Driver, opts: import(
|
|
67
|
+
export function mobileSwipeGesture(this: import("../driver").AndroidUiautomator2Driver, opts: import("./types").SwipeOptions): Promise<void>;
|
|
68
68
|
/**
|
|
69
69
|
* Performs a scroll gesture.
|
|
70
70
|
*
|
|
@@ -73,7 +73,7 @@ export function mobileSwipeGesture(this: import("../driver").AndroidUiautomator2
|
|
|
73
73
|
* @param {import('./types').ScrollGestureOptions} opts
|
|
74
74
|
* @returns {Promise<boolean>} True if the object can still scroll in the given direction.
|
|
75
75
|
*/
|
|
76
|
-
export function mobileScrollGesture(this: import("../driver").AndroidUiautomator2Driver, opts: import(
|
|
76
|
+
export function mobileScrollGesture(this: import("../driver").AndroidUiautomator2Driver, opts: import("./types").ScrollGestureOptions): Promise<boolean>;
|
|
77
77
|
/**
|
|
78
78
|
* Scrolls the given scrollable element `elementId` until `elementToId`
|
|
79
79
|
* becomes visible. This function returns immediately if the `elementToId`
|
|
@@ -86,7 +86,7 @@ export function mobileScrollGesture(this: import("../driver").AndroidUiautomator
|
|
|
86
86
|
* @returns {Promise<void>}
|
|
87
87
|
* @throws {Error} if the scrolling operation cannot be performed
|
|
88
88
|
*/
|
|
89
|
-
export function mobileScrollBackTo(this: import("../driver").AndroidUiautomator2Driver, opts: import(
|
|
89
|
+
export function mobileScrollBackTo(this: import("../driver").AndroidUiautomator2Driver, opts: import("./types").ScrollElementToElementOpts): Promise<void>;
|
|
90
90
|
/**
|
|
91
91
|
* Scrolls the given scrollable element until the element identified
|
|
92
92
|
* by `strategy` and `selector` becomes visible. This function returns immediately if the
|
|
@@ -99,6 +99,6 @@ export function mobileScrollBackTo(this: import("../driver").AndroidUiautomator2
|
|
|
99
99
|
* @returns {Promise<void>}
|
|
100
100
|
* @throws {Error} if the scrolling operation cannot be performed
|
|
101
101
|
*/
|
|
102
|
-
export function mobileScroll(this: import("../driver").AndroidUiautomator2Driver, opts: import(
|
|
103
|
-
export type AndroidUiautomator2Driver = import(
|
|
102
|
+
export function mobileScroll(this: import("../driver").AndroidUiautomator2Driver, opts: import("./types").ScrollOptions): Promise<void>;
|
|
103
|
+
export type AndroidUiautomator2Driver = import("../driver").AndroidUiautomator2Driver;
|
|
104
104
|
//# sourceMappingURL=gestures.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gestures.d.ts","sourceRoot":"","sources":["../../../lib/commands/gestures.js"],"names":[],"mappings":"AAIA;;;;;;;GAOG;AACH,4IAHa,
|
|
1
|
+
{"version":3,"file":"gestures.d.ts","sourceRoot":"","sources":["../../../lib/commands/gestures.js"],"names":[],"mappings":"AAIA;;;;;;;GAOG;AACH,4IAHa,OAAO,CAAC,IAAI,CAAC,CAazB;AAED;;;;;;;GAOG;AACH,oJAHa,OAAO,CAAC,IAAI,CAAC,CAczB;AAED;;;;;;GAMG;AACH,kJAHa,OAAO,CAAC,IAAI,CAAC,CAazB;AAED;;;;;;GAMG;AACH,6FAJW,OAAO,SAAS,EAAE,WAAW,GAC3B,OAAO,CAAC,IAAI,CAAC,CAezB;AAED;;;;;;;GAOG;AACH,8FAHW,OAAO,SAAS,EAAE,YAAY,GAC5B,OAAO,CAAC,OAAO,CAAC,CAgB5B;AAED;;;;;;GAMG;AACH,mGAJW,OAAO,SAAS,EAAE,YAAY,GAC5B,OAAO,CAAC,IAAI,CAAC,CAezB;AAED;;;;;;GAMG;AACH,kGAJW,OAAO,SAAS,EAAE,YAAY,GAC5B,OAAO,CAAC,IAAI,CAAC,CAezB;AAED;;;;;;GAMG;AACH,8FAJW,OAAO,SAAS,EAAE,YAAY,GAC5B,OAAO,CAAC,IAAI,CAAC,CAgBzB;AAED;;;;;;;GAOG;AACH,+FAHW,OAAO,SAAS,EAAE,oBAAoB,GACpC,OAAO,CAAC,OAAO,CAAC,CAiB5B;AAED;;;;;;;;;;;GAWG;AACH,8FAJW,OAAO,SAAS,EAAE,0BAA0B,GAC1C,OAAO,CAAC,IAAI,CAAC,CAiBzB;AAED;;;;;;;;;;;GAWG;AACH,wFAJW,OAAO,SAAS,EAAE,aAAa,GAC7B,OAAO,CAAC,IAAI,CAAC,CAuBzB;wCAwCY,OAAO,WAAW,EAAE,yBAAyB"}
|
|
@@ -3,7 +3,17 @@ 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.mobileClickGesture = mobileClickGesture;
|
|
7
|
+
exports.mobileLongClickGesture = mobileLongClickGesture;
|
|
8
|
+
exports.mobileDoubleClickGesture = mobileDoubleClickGesture;
|
|
9
|
+
exports.mobileDragGesture = mobileDragGesture;
|
|
10
|
+
exports.mobileFlingGesture = mobileFlingGesture;
|
|
11
|
+
exports.mobilePinchCloseGesture = mobilePinchCloseGesture;
|
|
12
|
+
exports.mobilePinchOpenGesture = mobilePinchOpenGesture;
|
|
13
|
+
exports.mobileSwipeGesture = mobileSwipeGesture;
|
|
14
|
+
exports.mobileScrollGesture = mobileScrollGesture;
|
|
15
|
+
exports.mobileScrollBackTo = mobileScrollBackTo;
|
|
16
|
+
exports.mobileScroll = mobileScroll;
|
|
7
17
|
const support_1 = require("appium/support");
|
|
8
18
|
const lodash_1 = __importDefault(require("lodash"));
|
|
9
19
|
const driver_1 = require("appium/driver");
|
|
@@ -22,7 +32,6 @@ async function mobileClickGesture(opts = {}) {
|
|
|
22
32
|
offset: toPoint(x, y),
|
|
23
33
|
});
|
|
24
34
|
}
|
|
25
|
-
exports.mobileClickGesture = mobileClickGesture;
|
|
26
35
|
/**
|
|
27
36
|
* Performs a click that lasts for the given duration
|
|
28
37
|
*
|
|
@@ -39,7 +48,6 @@ async function mobileLongClickGesture(opts = {}) {
|
|
|
39
48
|
duration,
|
|
40
49
|
});
|
|
41
50
|
}
|
|
42
|
-
exports.mobileLongClickGesture = mobileLongClickGesture;
|
|
43
51
|
/**
|
|
44
52
|
* Performs a click that lasts for the given duration
|
|
45
53
|
* @this {AndroidUiautomator2Driver}
|
|
@@ -54,7 +62,6 @@ async function mobileDoubleClickGesture(opts = {}) {
|
|
|
54
62
|
offset: toPoint(x, y),
|
|
55
63
|
});
|
|
56
64
|
}
|
|
57
|
-
exports.mobileDoubleClickGesture = mobileDoubleClickGesture;
|
|
58
65
|
/**
|
|
59
66
|
* Drags this object to the specified location.
|
|
60
67
|
* @this {AndroidUiautomator2Driver}
|
|
@@ -71,7 +78,6 @@ async function mobileDragGesture(opts) {
|
|
|
71
78
|
speed,
|
|
72
79
|
});
|
|
73
80
|
}
|
|
74
|
-
exports.mobileDragGesture = mobileDragGesture;
|
|
75
81
|
/**
|
|
76
82
|
* Drags to the specified location.
|
|
77
83
|
*
|
|
@@ -89,7 +95,6 @@ async function mobileFlingGesture(opts) {
|
|
|
89
95
|
speed,
|
|
90
96
|
}));
|
|
91
97
|
}
|
|
92
|
-
exports.mobileFlingGesture = mobileFlingGesture;
|
|
93
98
|
/**
|
|
94
99
|
* Performs a pinch close gesture.
|
|
95
100
|
* @this {AndroidUiautomator2Driver}
|
|
@@ -106,7 +111,6 @@ async function mobilePinchCloseGesture(opts) {
|
|
|
106
111
|
speed,
|
|
107
112
|
});
|
|
108
113
|
}
|
|
109
|
-
exports.mobilePinchCloseGesture = mobilePinchCloseGesture;
|
|
110
114
|
/**
|
|
111
115
|
* Performs a pinch open gesture.
|
|
112
116
|
* @this {AndroidUiautomator2Driver}
|
|
@@ -123,7 +127,6 @@ async function mobilePinchOpenGesture(opts) {
|
|
|
123
127
|
speed,
|
|
124
128
|
});
|
|
125
129
|
}
|
|
126
|
-
exports.mobilePinchOpenGesture = mobilePinchOpenGesture;
|
|
127
130
|
/**
|
|
128
131
|
* Performs a swipe gesture.
|
|
129
132
|
* @this {AndroidUiautomator2Driver}
|
|
@@ -141,7 +144,6 @@ async function mobileSwipeGesture(opts) {
|
|
|
141
144
|
speed,
|
|
142
145
|
});
|
|
143
146
|
}
|
|
144
|
-
exports.mobileSwipeGesture = mobileSwipeGesture;
|
|
145
147
|
/**
|
|
146
148
|
* Performs a scroll gesture.
|
|
147
149
|
*
|
|
@@ -160,7 +162,6 @@ async function mobileScrollGesture(opts) {
|
|
|
160
162
|
speed,
|
|
161
163
|
}));
|
|
162
164
|
}
|
|
163
|
-
exports.mobileScrollGesture = mobileScrollGesture;
|
|
164
165
|
/**
|
|
165
166
|
* Scrolls the given scrollable element `elementId` until `elementToId`
|
|
166
167
|
* becomes visible. This function returns immediately if the `elementToId`
|
|
@@ -180,7 +181,6 @@ async function mobileScrollBackTo(opts) {
|
|
|
180
181
|
}
|
|
181
182
|
await this.uiautomator2.jwproxy.command(`/appium/element/${support_1.util.unwrapElement(elementId)}/scroll_to/${support_1.util.unwrapElement(elementToId)}`, 'POST', {});
|
|
182
183
|
}
|
|
183
|
-
exports.mobileScrollBackTo = mobileScrollBackTo;
|
|
184
184
|
/**
|
|
185
185
|
* Scrolls the given scrollable element until the element identified
|
|
186
186
|
* by `strategy` and `selector` becomes visible. This function returns immediately if the
|
|
@@ -203,7 +203,6 @@ async function mobileScroll(opts) {
|
|
|
203
203
|
params: { strategy, selector, maxSwipes },
|
|
204
204
|
});
|
|
205
205
|
}
|
|
206
|
-
exports.mobileScroll = mobileScroll;
|
|
207
206
|
// #region Internal Helpers
|
|
208
207
|
/**
|
|
209
208
|
*
|
|
@@ -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":";;;;;AAYA,gDAUC;AAUD,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A2B;AAE3B;;;;GAIG;AACH,SAAS,QAAQ,CAAC,OAAO;IACvB,OAAO,OAAO,CAAC,CAAC,CAAC,cAAI,CAAC,WAAW,CAAC,cAAI,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;AAC7E,CAAC;AAED;;;;;GAKG;AACH,SAAS,OAAO,CAAC,CAAC,EAAE,CAAC;IACnB,OAAO,gBAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,IAAI,gBAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,EAAC,CAAC,EAAE,CAAC,EAAC,CAAC,CAAC,CAAC,SAAS,CAAC;AAC7D,CAAC;AAED;;;;;;;GAOG;AACH,SAAS,MAAM,CAAC,IAAI,EAAE,GAAG,EAAE,KAAK,EAAE,MAAM;IACtC,OAAO,CAAC,IAAI,EAAE,GAAG,EAAE,KAAK,EAAE,MAAM,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,gBAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC;QAC3D,CAAC,CAAC,SAAS;QACX,CAAC,CAAC,EAAC,IAAI,EAAE,GAAG,EAAE,KAAK,EAAE,MAAM,EAAC,CAAC;AACjC,CAAC;AAED,aAAa;AAEb;;GAEG"}
|
|
@@ -19,7 +19,7 @@ export function longPressKeyCode(this: import("../driver").AndroidUiautomator2Dr
|
|
|
19
19
|
* @param {import('./types').PressKeyOptions} opts
|
|
20
20
|
* @returns {Promise<void>}
|
|
21
21
|
*/
|
|
22
|
-
export function mobilePressKey(this: import("../driver").AndroidUiautomator2Driver, opts: import(
|
|
22
|
+
export function mobilePressKey(this: import("../driver").AndroidUiautomator2Driver, opts: import("./types").PressKeyOptions): Promise<void>;
|
|
23
23
|
/**
|
|
24
24
|
* Types the given Unicode string.
|
|
25
25
|
* It is expected that the focus is already put
|
|
@@ -29,13 +29,13 @@ export function mobilePressKey(this: import("../driver").AndroidUiautomator2Driv
|
|
|
29
29
|
* @returns {Promise<boolean>} `true` if the input text has been successfully sent to adb
|
|
30
30
|
* @throws {Error} if `text` property has not been provided
|
|
31
31
|
*/
|
|
32
|
-
export function mobileType(this: import("../driver").AndroidUiautomator2Driver, opts: import(
|
|
32
|
+
export function mobileType(this: import("../driver").AndroidUiautomator2Driver, opts: import("./types").TypingOptions): Promise<boolean>;
|
|
33
33
|
/**
|
|
34
34
|
* @this {AndroidUiautomator2Driver}
|
|
35
35
|
* @param {import('appium-android-driver').SendKeysOpts} params
|
|
36
36
|
* @returns {Promise<void>}
|
|
37
37
|
*/
|
|
38
|
-
export function doSendKeys(this: import("../driver").AndroidUiautomator2Driver, params: import(
|
|
38
|
+
export function doSendKeys(this: import("../driver").AndroidUiautomator2Driver, params: import("appium-android-driver").SendKeysOpts): Promise<void>;
|
|
39
39
|
/**
|
|
40
40
|
* @this {AndroidUiautomator2Driver}
|
|
41
41
|
* @param {string|number} keycode
|
|
@@ -43,5 +43,5 @@ export function doSendKeys(this: import("../driver").AndroidUiautomator2Driver,
|
|
|
43
43
|
* @returns {Promise<void>}
|
|
44
44
|
*/
|
|
45
45
|
export function keyevent(this: import("../driver").AndroidUiautomator2Driver, keycode: string | number, metastate?: number | undefined): Promise<void>;
|
|
46
|
-
export type AndroidUiautomator2Driver = import(
|
|
46
|
+
export type AndroidUiautomator2Driver = import("../driver").AndroidUiautomator2Driver;
|
|
47
47
|
//# sourceMappingURL=keyboard.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"keyboard.d.ts","sourceRoot":"","sources":["../../../lib/commands/keyboard.js"],"names":[],"mappings":"AAEA;;;;;;GAMG;AACH,2FALW,MAAM,GAAC,MAAM,+DAGX,
|
|
1
|
+
{"version":3,"file":"keyboard.d.ts","sourceRoot":"","sources":["../../../lib/commands/keyboard.js"],"names":[],"mappings":"AAEA;;;;;;GAMG;AACH,2FALW,MAAM,GAAC,MAAM,+DAGX,OAAO,CAAC,IAAI,CAAC,CAYzB;AAED;;;;;;GAMG;AACH,+FALW,MAAM,GAAC,MAAM,aACb,MAAM,+BAEJ,OAAO,CAAC,IAAI,CAAC,CAYzB;AAED;;;;GAIG;AACH,0FAHW,OAAO,SAAS,EAAE,eAAe,GAC/B,OAAO,CAAC,IAAI,CAAC,CAczB;AAED;;;;;;;;GAQG;AACH,sFAJW,OAAO,SAAS,EAAE,aAAa,GAC7B,OAAO,CAAC,OAAO,CAAC,CAS5B;AAED;;;;GAIG;AACH,wFAHW,OAAO,uBAAuB,EAAE,YAAY,GAC1C,OAAO,CAAC,IAAI,CAAC,CAQzB;AAED;;;;;GAKG;AACH,uFAJW,MAAM,GAAC,MAAM,mCAEX,OAAO,CAAC,IAAI,CAAC,CAKzB;wCAGY,OAAO,WAAW,EAAE,yBAAyB"}
|
|
@@ -3,7 +3,12 @@ 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.pressKeyCode = pressKeyCode;
|
|
7
|
+
exports.longPressKeyCode = longPressKeyCode;
|
|
8
|
+
exports.mobilePressKey = mobilePressKey;
|
|
9
|
+
exports.mobileType = mobileType;
|
|
10
|
+
exports.doSendKeys = doSendKeys;
|
|
11
|
+
exports.keyevent = keyevent;
|
|
7
12
|
const lodash_1 = __importDefault(require("lodash"));
|
|
8
13
|
/**
|
|
9
14
|
* @this {AndroidUiautomator2Driver}
|
|
@@ -19,7 +24,6 @@ async function pressKeyCode(keycode, metastate, flags) {
|
|
|
19
24
|
flags,
|
|
20
25
|
});
|
|
21
26
|
}
|
|
22
|
-
exports.pressKeyCode = pressKeyCode;
|
|
23
27
|
/**
|
|
24
28
|
* @this {AndroidUiautomator2Driver}
|
|
25
29
|
* @param {string|number} keycode
|
|
@@ -34,7 +38,6 @@ async function longPressKeyCode(keycode, metastate, flags) {
|
|
|
34
38
|
flags,
|
|
35
39
|
});
|
|
36
40
|
}
|
|
37
|
-
exports.longPressKeyCode = longPressKeyCode;
|
|
38
41
|
/**
|
|
39
42
|
* @this {AndroidUiautomator2Driver}
|
|
40
43
|
* @param {import('./types').PressKeyOptions} opts
|
|
@@ -48,7 +51,6 @@ async function mobilePressKey(opts) {
|
|
|
48
51
|
flags,
|
|
49
52
|
});
|
|
50
53
|
}
|
|
51
|
-
exports.mobilePressKey = mobilePressKey;
|
|
52
54
|
/**
|
|
53
55
|
* Types the given Unicode string.
|
|
54
56
|
* It is expected that the focus is already put
|
|
@@ -65,7 +67,6 @@ async function mobileType(opts) {
|
|
|
65
67
|
}
|
|
66
68
|
return await this.settingsApp.typeUnicode(String(text));
|
|
67
69
|
}
|
|
68
|
-
exports.mobileType = mobileType;
|
|
69
70
|
/**
|
|
70
71
|
* @this {AndroidUiautomator2Driver}
|
|
71
72
|
* @param {import('appium-android-driver').SendKeysOpts} params
|
|
@@ -74,7 +75,6 @@ exports.mobileType = mobileType;
|
|
|
74
75
|
async function doSendKeys(params) {
|
|
75
76
|
await this.uiautomator2.jwproxy.command('/keys', 'POST', params);
|
|
76
77
|
}
|
|
77
|
-
exports.doSendKeys = doSendKeys;
|
|
78
78
|
/**
|
|
79
79
|
* @this {AndroidUiautomator2Driver}
|
|
80
80
|
* @param {string|number} keycode
|
|
@@ -85,7 +85,6 @@ async function keyevent(keycode, metastate) {
|
|
|
85
85
|
this.log.debug(`Ignoring metastate ${metastate}`);
|
|
86
86
|
await this.adb.keyevent(keycode);
|
|
87
87
|
}
|
|
88
|
-
exports.keyevent = keyevent;
|
|
89
88
|
/**
|
|
90
89
|
* @typedef {import('../driver').AndroidUiautomator2Driver} AndroidUiautomator2Driver
|
|
91
90
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"keyboard.js","sourceRoot":"","sources":["../../../lib/commands/keyboard.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3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,CAAC,WAAW,CAAC,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC;AAC1D,CAAC;AAED;;;;GAIG;AACI,KAAK,UAAU,UAAU,CAAC,MAAM;IACrC,MAAM,IAAI,CAAC,YAAY,CAAC,OAAO,CAAC,OAAO,CACrC,OAAO,EACP,MAAM,EACN,MAAM,CACP,CAAC;AACJ,CAAC;AAED;;;;;GAKG;AACI,KAAK,UAAU,QAAQ,CAAC,OAAO,EAAE,SAAS;IAC/C,IAAI,CAAC,GAAG,CAAC,KAAK,CAAC,sBAAsB,SAAS,EAAE,CAAC,CAAC;IAClD,MAAM,IAAI,CAAC,GAAG,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC;AACnC,CAAC;AAED;;GAEG"}
|
|
@@ -7,13 +7,13 @@ export function getPageSource(this: import("../driver").AndroidUiautomator2Drive
|
|
|
7
7
|
* @this {AndroidUiautomator2Driver}
|
|
8
8
|
* @returns {Promise<import('@appium/types').Orientation>}
|
|
9
9
|
*/
|
|
10
|
-
export function getOrientation(this: import("../driver").AndroidUiautomator2Driver): Promise<import(
|
|
10
|
+
export function getOrientation(this: import("../driver").AndroidUiautomator2Driver): Promise<import("@appium/types").Orientation>;
|
|
11
11
|
/**
|
|
12
12
|
* @this {AndroidUiautomator2Driver}
|
|
13
13
|
* @param {import('@appium/types').Orientation} orientation
|
|
14
14
|
* @returns {Promise<void>}
|
|
15
15
|
*/
|
|
16
|
-
export function setOrientation(this: import("../driver").AndroidUiautomator2Driver, orientation: import(
|
|
16
|
+
export function setOrientation(this: import("../driver").AndroidUiautomator2Driver, orientation: import("@appium/types").Orientation): Promise<void>;
|
|
17
17
|
/**
|
|
18
18
|
* @this {AndroidUiautomator2Driver}
|
|
19
19
|
* @returns {Promise<string>}
|
|
@@ -33,7 +33,7 @@ export function suspendChromedriverProxy(this: import("../driver").AndroidUiauto
|
|
|
33
33
|
export class suspendChromedriverProxy {
|
|
34
34
|
chromedriver: any;
|
|
35
35
|
proxyReqRes: any;
|
|
36
|
-
proxyCommand: (<TReq = any, TRes = unknown>(url: string, method: import("appium-android-driver/node_modules/@appium/types").HTTPMethod, body?: TReq
|
|
36
|
+
proxyCommand: (<TReq = any, TRes = unknown>(url: string, method: import("appium-android-driver/node_modules/@appium/types").HTTPMethod, body?: TReq) => Promise<TRes>) | undefined;
|
|
37
37
|
jwpProxyActive: boolean | undefined;
|
|
38
38
|
}
|
|
39
39
|
/**
|
|
@@ -43,6 +43,6 @@ export class suspendChromedriverProxy {
|
|
|
43
43
|
* @returns {Promise<StringRecord>}
|
|
44
44
|
*/
|
|
45
45
|
export function mobileGetDeviceInfo(this: import("../driver").AndroidUiautomator2Driver): Promise<StringRecord>;
|
|
46
|
-
export type StringRecord<T = any> = import(
|
|
47
|
-
export type AndroidUiautomator2Driver<T = any> = import(
|
|
46
|
+
export type StringRecord<T = any> = import("@appium/types").StringRecord<T>;
|
|
47
|
+
export type AndroidUiautomator2Driver<T = any> = import("../driver").AndroidUiautomator2Driver;
|
|
48
48
|
//# sourceMappingURL=misc.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"misc.d.ts","sourceRoot":"","sources":["../../../lib/commands/misc.js"],"names":[],"mappings":"AAAA;;;GAGG;AACH,oFAFa,
|
|
1
|
+
{"version":3,"file":"misc.d.ts","sourceRoot":"","sources":["../../../lib/commands/misc.js"],"names":[],"mappings":"AAAA;;;GAGG;AACH,oFAFa,OAAO,CAAC,MAAM,CAAC,CAU3B;AAED;;;GAGG;AACH,qFAFa,OAAO,CAAC,OAAO,eAAe,EAAE,WAAW,CAAC,CAUxD;AAED;;;;GAIG;AACH,iGAHW,OAAO,eAAe,EAAE,WAAW,GACjC,OAAO,CAAC,IAAI,CAAC,CASzB;AAED;;;GAGG;AACH,mFAFa,OAAO,CAAC,MAAM,CAAC,CAY3B;AAED;;;GAGG;AACH,wFAFa,OAAO,CAAC,IAAI,CAAC,CAQzB;AAED;;;;GAIG;AACH,+FAFa,IAAI,CAehB;;IARC,kBAA6B;IAC7B,iBAEC;IACD,mLAEC;IACD,oCAA0B;;AAG5B;;;;;GAKG;AACH,0FAFa,OAAO,CAAC,YAAY,CAAC,CASjC;yBAGa,CAAC,UACF,OAAO,eAAe,EAAE,YAAY,CAAC,CAAC,CAAC;sCADtC,CAAC,UAEF,OAAO,WAAW,EAAE,yBAAyB"}
|
|
@@ -1,6 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.getPageSource = getPageSource;
|
|
4
|
+
exports.getOrientation = getOrientation;
|
|
5
|
+
exports.setOrientation = setOrientation;
|
|
6
|
+
exports.getClipboard = getClipboard;
|
|
7
|
+
exports.openNotifications = openNotifications;
|
|
8
|
+
exports.suspendChromedriverProxy = suspendChromedriverProxy;
|
|
9
|
+
exports.mobileGetDeviceInfo = mobileGetDeviceInfo;
|
|
4
10
|
/**
|
|
5
11
|
* @this {AndroidUiautomator2Driver}
|
|
6
12
|
* @returns {Promise<string>}
|
|
@@ -8,7 +14,6 @@ exports.mobileGetDeviceInfo = exports.suspendChromedriverProxy = exports.openNot
|
|
|
8
14
|
async function getPageSource() {
|
|
9
15
|
return String(await this.uiautomator2.jwproxy.command('/source', 'GET', {}));
|
|
10
16
|
}
|
|
11
|
-
exports.getPageSource = getPageSource;
|
|
12
17
|
/**
|
|
13
18
|
* @this {AndroidUiautomator2Driver}
|
|
14
19
|
* @returns {Promise<import('@appium/types').Orientation>}
|
|
@@ -16,7 +21,6 @@ exports.getPageSource = getPageSource;
|
|
|
16
21
|
async function getOrientation() {
|
|
17
22
|
return /** @type {import('@appium/types').Orientation} */ (await this.uiautomator2.jwproxy.command(`/orientation`, 'GET', {}));
|
|
18
23
|
}
|
|
19
|
-
exports.getOrientation = getOrientation;
|
|
20
24
|
/**
|
|
21
25
|
* @this {AndroidUiautomator2Driver}
|
|
22
26
|
* @param {import('@appium/types').Orientation} orientation
|
|
@@ -26,7 +30,6 @@ async function setOrientation(orientation) {
|
|
|
26
30
|
orientation = /** @type {import('@appium/types').Orientation} */ (orientation.toUpperCase());
|
|
27
31
|
await this.uiautomator2.jwproxy.command(`/orientation`, 'POST', { orientation });
|
|
28
32
|
}
|
|
29
|
-
exports.setOrientation = setOrientation;
|
|
30
33
|
/**
|
|
31
34
|
* @this {AndroidUiautomator2Driver}
|
|
32
35
|
* @returns {Promise<string>}
|
|
@@ -36,7 +39,6 @@ async function getClipboard() {
|
|
|
36
39
|
? await this.uiautomator2.jwproxy.command('/appium/device/get_clipboard', 'POST', {})
|
|
37
40
|
: await this.settingsApp.getClipboard());
|
|
38
41
|
}
|
|
39
|
-
exports.getClipboard = getClipboard;
|
|
40
42
|
/**
|
|
41
43
|
* @this {AndroidUiautomator2Driver}
|
|
42
44
|
* @returns {Promise<void>}
|
|
@@ -44,7 +46,6 @@ exports.getClipboard = getClipboard;
|
|
|
44
46
|
async function openNotifications() {
|
|
45
47
|
await this.uiautomator2.jwproxy.command('/appium/device/open_notifications', 'POST', {});
|
|
46
48
|
}
|
|
47
|
-
exports.openNotifications = openNotifications;
|
|
48
49
|
/**
|
|
49
50
|
* Stop proxying to any Chromedriver and redirect to uiautomator2
|
|
50
51
|
* @this {AndroidUiautomator2Driver}
|
|
@@ -59,7 +60,6 @@ function suspendChromedriverProxy() {
|
|
|
59
60
|
this.proxyCommand = /** @type {typeof this.proxyCommand} */ (this.uiautomator2.proxyCommand.bind(this.uiautomator2));
|
|
60
61
|
this.jwpProxyActive = true;
|
|
61
62
|
}
|
|
62
|
-
exports.suspendChromedriverProxy = suspendChromedriverProxy;
|
|
63
63
|
/**
|
|
64
64
|
* The list of available info entries can be found at
|
|
65
65
|
* https://github.com/appium/appium-uiautomator2-server/blob/master/app/src/main/java/io/appium/uiautomator2/handler/GetDeviceInfo.java
|
|
@@ -69,7 +69,6 @@ exports.suspendChromedriverProxy = suspendChromedriverProxy;
|
|
|
69
69
|
async function mobileGetDeviceInfo() {
|
|
70
70
|
return /** @type {StringRecord} */ (await this.uiautomator2.jwproxy.command('/appium/device/info', 'GET'));
|
|
71
71
|
}
|
|
72
|
-
exports.mobileGetDeviceInfo = mobileGetDeviceInfo;
|
|
73
72
|
/**
|
|
74
73
|
* @template [T=any]
|
|
75
74
|
* @typedef {import('@appium/types').StringRecord<T>} StringRecord
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"misc.js","sourceRoot":"","sources":["../../../lib/commands/misc.js"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"misc.js","sourceRoot":"","sources":["../../../lib/commands/misc.js"],"names":[],"mappings":";;AAIA,sCAQC;AAMD,wCAQC;AAOD,wCAOC;AAMD,oCAUC;AAMD,8CAMC;AAOD,4DAaC;AAQD,kDAOC;AAvGD;;;GAGG;AACI,KAAK,UAAU,aAAa;IACjC,OAAO,MAAM,CACX,MAAM,IAAI,CAAC,YAAY,CAAC,OAAO,CAAC,OAAO,CACrC,SAAS,EACT,KAAK,EACL,EAAE,CACH,CACF,CAAC;AACJ,CAAC;AAED;;;GAGG;AACI,KAAK,UAAU,cAAc;IAClC,OAAO,kDAAkD,CAAC,CACxD,MAAM,IAAI,CAAC,YAAY,CAAC,OAAO,CAAC,OAAO,CACrC,cAAc,EACd,KAAK,EACL,EAAE,CACH,CACF,CAAC;AACJ,CAAC;AAED;;;;GAIG;AACI,KAAK,UAAU,cAAc,CAAC,WAAW;IAC9C,WAAW,GAAG,kDAAkD,CAAC,CAAC,WAAW,CAAC,WAAW,EAAE,CAAC,CAAC;IAC7F,MAAM,IAAI,CAAC,YAAY,CAAC,OAAO,CAAC,OAAO,CACrC,cAAc,EACd,MAAM,EACN,EAAC,WAAW,EAAC,CACd,CAAC;AACJ,CAAC;AAED;;;GAGG;AACI,KAAK,UAAU,YAAY;IAChC,OAAO,MAAM,CACX,CAAC,MAAM,IAAI,CAAC,GAAG,CAAC,WAAW,EAAE,CAAC,GAAG,EAAE;QACjC,CAAC,CAAC,MAAM,IAAI,CAAC,YAAY,CAAC,OAAO,CAAC,OAAO,CACrC,8BAA8B,EAC9B,MAAM,EACN,EAAE,CACH;QACH,CAAC,CAAC,MAAM,IAAI,CAAC,WAAW,CAAC,YAAY,EAAE,CAC1C,CAAC;AACJ,CAAC;AAED;;;GAGG;AACI,KAAK,UAAU,iBAAiB;IACrC,MAAM,IAAI,CAAC,YAAY,CAAC,OAAO,CAAC,OAAO,CACrC,mCAAmC,EACnC,MAAM,EACN,EAAE,CACH,CAAC;AACJ,CAAC;AAED;;;;GAIG;AACH,SAAgB,wBAAwB;IACtC,IAAI,CAAC,IAAI,CAAC,YAAY,EAAE,WAAW,IAAI,CAAC,IAAI,CAAC,YAAY,EAAE,YAAY,EAAE,CAAC;QACxE,OAAO;IACT,CAAC;IAED,IAAI,CAAC,YAAY,GAAG,SAAS,CAAC;IAC9B,IAAI,CAAC,WAAW,GAAG,IAAI,CAAC,YAAY,CAAC,WAAW,CAAC,IAAI,CACnD,IAAI,CAAC,YAAY,CAClB,CAAC;IACF,IAAI,CAAC,YAAY,GAAG,uCAAuC,CAAC,CAC1D,IAAI,CAAC,YAAY,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC,YAAY,CAAC,CACvD,CAAC;IACF,IAAI,CAAC,cAAc,GAAG,IAAI,CAAC;AAC7B,CAAC;AAED;;;;;GAKG;AACI,KAAK,UAAU,mBAAmB;IACvC,OAAO,2BAA2B,CAAC,CACjC,MAAM,IAAI,CAAC,YAAY,CAAC,OAAO,CAAC,OAAO,CACrC,qBAAqB,EACrB,KAAK,CACN,CACF,CAAC;AACJ,CAAC;AAED;;;;GAIG"}
|
|
@@ -10,11 +10,11 @@ export function setUrl(this: import("../driver").AndroidUiautomator2Driver, url:
|
|
|
10
10
|
* @param {import('./types').DeepLinkOpts} opts
|
|
11
11
|
* @returns {Promise<void>}
|
|
12
12
|
*/
|
|
13
|
-
export function mobileDeepLink(this: import("../driver").AndroidUiautomator2Driver, opts: import(
|
|
13
|
+
export function mobileDeepLink(this: import("../driver").AndroidUiautomator2Driver, opts: import("./types").DeepLinkOpts): Promise<void>;
|
|
14
14
|
/**
|
|
15
15
|
* @this {AndroidUiautomator2Driver}
|
|
16
16
|
* @returns {Promise<void>}
|
|
17
17
|
*/
|
|
18
18
|
export function back(this: import("../driver").AndroidUiautomator2Driver): Promise<void>;
|
|
19
|
-
export type AndroidUiautomator2Driver = import(
|
|
19
|
+
export type AndroidUiautomator2Driver = import("../driver").AndroidUiautomator2Driver;
|
|
20
20
|
//# sourceMappingURL=navigation.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"navigation.d.ts","sourceRoot":"","sources":["../../../lib/commands/navigation.js"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,iFAHW,MAAM,GACJ,
|
|
1
|
+
{"version":3,"file":"navigation.d.ts","sourceRoot":"","sources":["../../../lib/commands/navigation.js"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,iFAHW,MAAM,GACJ,OAAO,CAAC,IAAI,CAAC,CAIzB;AAED;;;;;GAKG;AACH,0FAHW,OAAO,SAAS,EAAE,YAAY,GAC5B,OAAO,CAAC,IAAI,CAAC,CAKzB;AAED;;;GAGG;AACH,2EAFa,OAAO,CAAC,IAAI,CAAC,CAIzB;wCAGY,OAAO,WAAW,EAAE,yBAAyB"}
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.setUrl = setUrl;
|
|
4
|
+
exports.mobileDeepLink = mobileDeepLink;
|
|
5
|
+
exports.back = back;
|
|
4
6
|
/**
|
|
5
7
|
* @this {AndroidUiautomator2Driver}
|
|
6
8
|
* @param {string} url
|
|
@@ -9,7 +11,6 @@ exports.back = exports.mobileDeepLink = exports.setUrl = void 0;
|
|
|
9
11
|
async function setUrl(url) {
|
|
10
12
|
await this.adb.startUri(url, /** @type {string} */ (this.opts.appPackage));
|
|
11
13
|
}
|
|
12
|
-
exports.setUrl = setUrl;
|
|
13
14
|
/**
|
|
14
15
|
* Start URL that take users directly to specific content in the app
|
|
15
16
|
* @this {AndroidUiautomator2Driver}
|
|
@@ -20,7 +21,6 @@ async function mobileDeepLink(opts) {
|
|
|
20
21
|
const { url, package: pkg, waitForLaunch } = opts;
|
|
21
22
|
return await this.adb.startUri(url, pkg, { waitForLaunch });
|
|
22
23
|
}
|
|
23
|
-
exports.mobileDeepLink = mobileDeepLink;
|
|
24
24
|
/**
|
|
25
25
|
* @this {AndroidUiautomator2Driver}
|
|
26
26
|
* @returns {Promise<void>}
|
|
@@ -28,7 +28,6 @@ exports.mobileDeepLink = mobileDeepLink;
|
|
|
28
28
|
async function back() {
|
|
29
29
|
await this.adb.keyevent(4);
|
|
30
30
|
}
|
|
31
|
-
exports.back = back;
|
|
32
31
|
/**
|
|
33
32
|
* @typedef {import('../driver').AndroidUiautomator2Driver} AndroidUiautomator2Driver
|
|
34
33
|
*/
|
|
@@ -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":";;AAKA,wBAEC;AAQD,wCAGC;AAMD,oBAEC;AA1BD;;;;GAIG;AACI,KAAK,UAAU,MAAM,CAAC,GAAG;IAC9B,MAAM,IAAI,CAAC,GAAG,CAAC,QAAQ,CAAC,GAAG,EAAE,qBAAqB,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC;AAC7E,CAAC;AAED;;;;;GAKG;AACI,KAAK,UAAU,cAAc,CAAC,IAAI;IACvC,MAAM,EAAC,GAAG,EAAE,OAAO,EAAE,GAAG,EAAE,aAAa,EAAC,GAAG,IAAI,CAAC;IAChD,OAAO,MAAM,IAAI,CAAC,GAAG,CAAC,QAAQ,CAAC,GAAG,EAAE,GAAG,EAAE,EAAC,aAAa,EAAC,CAAC,CAAC;AAC5D,CAAC;AAED;;;GAGG;AACI,KAAK,UAAU,IAAI;IACxB,MAAM,IAAI,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC;AAC7B,CAAC;AAED;;GAEG"}
|
|
@@ -20,6 +20,6 @@ export function getScreenshot(this: import("../driver").AndroidUiautomator2Drive
|
|
|
20
20
|
* @param {import('./types').ScreenshotsOpts} [opts={}]
|
|
21
21
|
* @returns {Promise<import('@appium/types').StringRecord<import('./types').Screenshot>>}
|
|
22
22
|
*/
|
|
23
|
-
export function mobileScreenshots(this: import("../driver").AndroidUiautomator2Driver, opts?: import("./types").ScreenshotsOpts | undefined): Promise<import(
|
|
24
|
-
export type AndroidUiautomator2Driver = import(
|
|
23
|
+
export function mobileScreenshots(this: import("../driver").AndroidUiautomator2Driver, opts?: import("./types").ScreenshotsOpts | undefined): Promise<import("@appium/types").StringRecord<import("./types").Screenshot>>;
|
|
24
|
+
export type AndroidUiautomator2Driver = import("../driver").AndroidUiautomator2Driver;
|
|
25
25
|
//# sourceMappingURL=screenshot.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"screenshot.d.ts","sourceRoot":"","sources":["../../../lib/commands/screenshot.js"],"names":[],"mappings":"AAOA;;;GAGG;AACH,+FAFa,
|
|
1
|
+
{"version":3,"file":"screenshot.d.ts","sourceRoot":"","sources":["../../../lib/commands/screenshot.js"],"names":[],"mappings":"AAOA;;;GAGG;AACH,+FAFa,OAAO,CAAC,MAAM,CAAC,CAI3B;AAED;;;GAGG;AACH,4FAFa,OAAO,CAAC,MAAM,CAAC,CAM3B;AAED;;;GAGG;AACH,oFAFa,OAAO,CAAC,MAAM,CAAC,CAkB3B;AAED;;;;;;GAMG;AACH,8IAFa,OAAO,CAAC,OAAO,eAAe,EAAE,YAAY,CAAC,OAAO,SAAS,EAAE,UAAU,CAAC,CAAC,CA0DvF;wCAGY,OAAO,WAAW,EAAE,yBAAyB"}
|
|
@@ -3,7 +3,10 @@ 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.mobileViewportScreenshot = mobileViewportScreenshot;
|
|
7
|
+
exports.getViewportScreenshot = getViewportScreenshot;
|
|
8
|
+
exports.getScreenshot = getScreenshot;
|
|
9
|
+
exports.mobileScreenshots = mobileScreenshots;
|
|
7
10
|
const lodash_1 = __importDefault(require("lodash"));
|
|
8
11
|
const bluebird_1 = __importDefault(require("bluebird"));
|
|
9
12
|
const support_1 = require("appium/support");
|
|
@@ -16,7 +19,6 @@ const DISPLAY_PATTERN = /^Display\s+(\d+)\s+\(.+display\s+(\d+)\).+displayName="
|
|
|
16
19
|
async function mobileViewportScreenshot() {
|
|
17
20
|
return await this.getViewportScreenshot();
|
|
18
21
|
}
|
|
19
|
-
exports.mobileViewportScreenshot = mobileViewportScreenshot;
|
|
20
22
|
/**
|
|
21
23
|
* @this {AndroidUiautomator2Driver}
|
|
22
24
|
* @returns {Promise<string>}
|
|
@@ -26,7 +28,6 @@ async function getViewportScreenshot() {
|
|
|
26
28
|
const rect = await this.getViewPortRect();
|
|
27
29
|
return await support_1.imageUtil.cropBase64Image(screenshot, rect);
|
|
28
30
|
}
|
|
29
|
-
exports.getViewportScreenshot = getViewportScreenshot;
|
|
30
31
|
/**
|
|
31
32
|
* @this {AndroidUiautomator2Driver}
|
|
32
33
|
* @returns {Promise<string>}
|
|
@@ -42,7 +43,6 @@ async function getScreenshot() {
|
|
|
42
43
|
}
|
|
43
44
|
return String(await /** @type {import('../uiautomator2').UiAutomator2Server} */ (this.uiautomator2).jwproxy.command('/screenshot', 'GET'));
|
|
44
45
|
}
|
|
45
|
-
exports.getScreenshot = getScreenshot;
|
|
46
46
|
/**
|
|
47
47
|
* Retrieves screenshots of each display available to Android.
|
|
48
48
|
* This functionality is only supported since Android 10.
|
|
@@ -97,7 +97,6 @@ async function mobileScreenshots(opts = {}) {
|
|
|
97
97
|
}
|
|
98
98
|
return infos;
|
|
99
99
|
}
|
|
100
|
-
exports.mobileScreenshots = mobileScreenshots;
|
|
101
100
|
/**
|
|
102
101
|
* @typedef {import('../driver').AndroidUiautomator2Driver} AndroidUiautomator2Driver
|
|
103
102
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"screenshot.js","sourceRoot":"","sources":["../../../lib/commands/screenshot.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"screenshot.js","sourceRoot":"","sources":["../../../lib/commands/screenshot.js"],"names":[],"mappings":";;;;;AAWA,4DAEC;AAMD,sDAIC;AAMD,sCAgBC;AASD,8CAwDC;AA9GD,oDAAuB;AACvB,wDAAyB;AACzB,4CAAyC;AAEzC,4FAA4F;AAC5F,MAAM,eAAe,GAAG,kEAAkE,CAAC;AAE3F;;;GAGG;AACI,KAAK,UAAU,wBAAwB;IAC5C,OAAO,MAAM,IAAI,CAAC,qBAAqB,EAAE,CAAC;AAC5C,CAAC;AAED;;;GAGG;AACI,KAAK,UAAU,qBAAqB;IACzC,MAAM,UAAU,GAAG,MAAM,IAAI,CAAC,aAAa,EAAE,CAAC;IAC9C,MAAM,IAAI,GAAG,MAAM,IAAI,CAAC,eAAe,EAAE,CAAC;IAC1C,OAAO,MAAM,mBAAS,CAAC,eAAe,CAAC,UAAU,EAAE,IAAI,CAAC,CAAC;AAC3D,CAAC;AAED;;;GAGG;AACI,KAAK,UAAU,aAAa;IACjC,IAAI,IAAI,CAAC,WAAW,EAAE,CAAC;QACrB,MAAM,IAAI,GAAG,MAAM,IAAI,CAAC,WAAW,CAAC,kBAAkB,EAAE,CAAC;QACzD,IAAI,IAAI,EAAE,CAAC;YACT,OAAO,IAAI,CAAC;QACd,CAAC;QACD,IAAI,CAAC,GAAG,CAAC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