appium-android-driver 7.8.3 → 8.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.
Files changed (261) hide show
  1. package/CHANGELOG.md +25 -0
  2. package/build/lib/commands/app-management.d.ts +129 -5
  3. package/build/lib/commands/app-management.d.ts.map +1 -1
  4. package/build/lib/commands/app-management.js +433 -128
  5. package/build/lib/commands/app-management.js.map +1 -1
  6. package/build/lib/commands/appearance.d.ts +17 -4
  7. package/build/lib/commands/appearance.d.ts.map +1 -1
  8. package/build/lib/commands/appearance.js +32 -33
  9. package/build/lib/commands/appearance.js.map +1 -1
  10. package/build/lib/commands/context/cache.d.ts +19 -0
  11. package/build/lib/commands/context/cache.d.ts.map +1 -0
  12. package/build/lib/commands/context/cache.js +32 -0
  13. package/build/lib/commands/context/cache.js.map +1 -0
  14. package/build/lib/commands/context/exports.d.ts +141 -0
  15. package/build/lib/commands/context/exports.d.ts.map +1 -0
  16. package/build/lib/commands/context/exports.js +351 -0
  17. package/build/lib/commands/context/exports.js.map +1 -0
  18. package/build/lib/commands/context/helpers.d.ts +98 -0
  19. package/build/lib/commands/context/helpers.d.ts.map +1 -0
  20. package/build/lib/commands/context/helpers.js +715 -0
  21. package/build/lib/commands/context/helpers.js.map +1 -0
  22. package/build/lib/commands/device/common.d.ts +23 -0
  23. package/build/lib/commands/device/common.d.ts.map +1 -0
  24. package/build/lib/commands/device/common.js +230 -0
  25. package/build/lib/commands/device/common.js.map +1 -0
  26. package/build/lib/commands/device/emulator-actions.d.ts +114 -0
  27. package/build/lib/commands/device/emulator-actions.d.ts.map +1 -0
  28. package/build/lib/commands/device/emulator-actions.js +197 -0
  29. package/build/lib/commands/device/emulator-actions.js.map +1 -0
  30. package/build/lib/commands/device/emulator-console.d.ts +7 -0
  31. package/build/lib/commands/device/emulator-console.d.ts.map +1 -0
  32. package/build/lib/commands/device/emulator-console.js +24 -0
  33. package/build/lib/commands/device/emulator-console.js.map +1 -0
  34. package/build/lib/commands/device/utils.d.ts +50 -0
  35. package/build/lib/commands/device/utils.d.ts.map +1 -0
  36. package/build/lib/commands/device/utils.js +238 -0
  37. package/build/lib/commands/device/utils.js.map +1 -0
  38. package/build/lib/commands/deviceidle.d.ts +8 -5
  39. package/build/lib/commands/deviceidle.d.ts.map +1 -1
  40. package/build/lib/commands/deviceidle.js +31 -37
  41. package/build/lib/commands/deviceidle.js.map +1 -1
  42. package/build/lib/commands/element.d.ts +99 -5
  43. package/build/lib/commands/element.d.ts.map +1 -1
  44. package/build/lib/commands/element.js +152 -116
  45. package/build/lib/commands/element.js.map +1 -1
  46. package/build/lib/commands/execute.d.ts +12 -4
  47. package/build/lib/commands/execute.d.ts.map +1 -1
  48. package/build/lib/commands/execute.js +83 -78
  49. package/build/lib/commands/execute.js.map +1 -1
  50. package/build/lib/commands/file-actions.d.ts +42 -5
  51. package/build/lib/commands/file-actions.d.ts.map +1 -1
  52. package/build/lib/commands/file-actions.js +230 -194
  53. package/build/lib/commands/file-actions.js.map +1 -1
  54. package/build/lib/commands/find.d.ts +5 -4
  55. package/build/lib/commands/find.d.ts.map +1 -1
  56. package/build/lib/commands/find.js +7 -10
  57. package/build/lib/commands/find.js.map +1 -1
  58. package/build/lib/commands/geolocation.d.ts +45 -0
  59. package/build/lib/commands/geolocation.d.ts.map +1 -0
  60. package/build/lib/commands/geolocation.js +182 -0
  61. package/build/lib/commands/geolocation.js.map +1 -0
  62. package/build/lib/commands/ime.d.ts +25 -5
  63. package/build/lib/commands/ime.d.ts.map +1 -1
  64. package/build/lib/commands/ime.js +59 -42
  65. package/build/lib/commands/ime.js.map +1 -1
  66. package/build/lib/commands/intent.d.ts +56 -5
  67. package/build/lib/commands/intent.d.ts.map +1 -1
  68. package/build/lib/commands/intent.js +135 -83
  69. package/build/lib/commands/intent.js.map +1 -1
  70. package/build/lib/commands/keyboard.d.ts +58 -4
  71. package/build/lib/commands/keyboard.d.ts.map +1 -1
  72. package/build/lib/commands/keyboard.js +119 -17
  73. package/build/lib/commands/keyboard.js.map +1 -1
  74. package/build/lib/commands/lock/exports.d.ts +301 -0
  75. package/build/lib/commands/lock/exports.d.ts.map +1 -0
  76. package/build/lib/commands/lock/exports.js +121 -0
  77. package/build/lib/commands/lock/exports.js.map +1 -0
  78. package/build/lib/commands/lock/helpers.d.ts +349 -0
  79. package/build/lib/commands/lock/helpers.d.ts.map +1 -0
  80. package/build/lib/commands/lock/helpers.js +375 -0
  81. package/build/lib/commands/lock/helpers.js.map +1 -0
  82. package/build/lib/commands/log.d.ts +59 -5
  83. package/build/lib/commands/log.d.ts.map +1 -1
  84. package/build/lib/commands/log.js +150 -140
  85. package/build/lib/commands/log.js.map +1 -1
  86. package/build/lib/commands/media-projection.d.ts +16 -5
  87. package/build/lib/commands/media-projection.d.ts.map +1 -1
  88. package/build/lib/commands/media-projection.js +69 -58
  89. package/build/lib/commands/media-projection.js.map +1 -1
  90. package/build/lib/commands/memory.d.ts +9 -5
  91. package/build/lib/commands/memory.d.ts.map +1 -1
  92. package/build/lib/commands/memory.js +19 -24
  93. package/build/lib/commands/memory.js.map +1 -1
  94. package/build/lib/commands/misc.d.ts +42 -0
  95. package/build/lib/commands/misc.d.ts.map +1 -0
  96. package/build/lib/commands/misc.js +100 -0
  97. package/build/lib/commands/misc.js.map +1 -0
  98. package/build/lib/commands/network.d.ts +61 -5
  99. package/build/lib/commands/network.d.ts.map +1 -1
  100. package/build/lib/commands/network.js +196 -189
  101. package/build/lib/commands/network.js.map +1 -1
  102. package/build/lib/commands/performance.d.ts +67 -27
  103. package/build/lib/commands/performance.d.ts.map +1 -1
  104. package/build/lib/commands/performance.js +105 -80
  105. package/build/lib/commands/performance.js.map +1 -1
  106. package/build/lib/commands/permissions.d.ts +12 -6
  107. package/build/lib/commands/permissions.d.ts.map +1 -1
  108. package/build/lib/commands/permissions.js +65 -62
  109. package/build/lib/commands/permissions.js.map +1 -1
  110. package/build/lib/commands/recordscreen.d.ts +44 -5
  111. package/build/lib/commands/recordscreen.d.ts.map +1 -1
  112. package/build/lib/commands/recordscreen.js +131 -126
  113. package/build/lib/commands/recordscreen.js.map +1 -1
  114. package/build/lib/commands/resources.d.ts +16 -0
  115. package/build/lib/commands/resources.d.ts.map +1 -0
  116. package/build/lib/commands/resources.js +91 -0
  117. package/build/lib/commands/resources.js.map +1 -0
  118. package/build/lib/commands/shell.d.ts +8 -5
  119. package/build/lib/commands/shell.d.ts.map +1 -1
  120. package/build/lib/commands/shell.js +29 -33
  121. package/build/lib/commands/shell.js.map +1 -1
  122. package/build/lib/commands/streamscreen.d.ts +34 -6
  123. package/build/lib/commands/streamscreen.d.ts.map +1 -1
  124. package/build/lib/commands/streamscreen.js +166 -162
  125. package/build/lib/commands/streamscreen.js.map +1 -1
  126. package/build/lib/commands/system-bars.d.ts +18 -13
  127. package/build/lib/commands/system-bars.d.ts.map +1 -1
  128. package/build/lib/commands/system-bars.js +68 -64
  129. package/build/lib/commands/system-bars.js.map +1 -1
  130. package/build/lib/commands/time.d.ts +14 -0
  131. package/build/lib/commands/time.d.ts.map +1 -0
  132. package/build/lib/commands/time.js +39 -0
  133. package/build/lib/commands/time.js.map +1 -0
  134. package/build/lib/commands/touch.d.ts +99 -6
  135. package/build/lib/commands/touch.d.ts.map +1 -1
  136. package/build/lib/commands/touch.js +399 -280
  137. package/build/lib/commands/touch.js.map +1 -1
  138. package/build/lib/commands/types.d.ts +110 -2
  139. package/build/lib/commands/types.d.ts.map +1 -1
  140. package/build/lib/doctor/checks.d.ts.map +1 -1
  141. package/build/lib/doctor/checks.js +4 -4
  142. package/build/lib/doctor/checks.js.map +1 -1
  143. package/build/lib/driver.d.ts +224 -27
  144. package/build/lib/driver.d.ts.map +1 -1
  145. package/build/lib/driver.js +232 -7
  146. package/build/lib/driver.js.map +1 -1
  147. package/build/lib/index.d.ts +1 -4
  148. package/build/lib/index.d.ts.map +1 -1
  149. package/build/lib/index.js +1 -13
  150. package/build/lib/index.js.map +1 -1
  151. package/build/lib/logger.js.map +1 -1
  152. package/build/lib/method-map.d.ts +0 -23
  153. package/build/lib/method-map.d.ts.map +1 -1
  154. package/build/lib/method-map.js +0 -11
  155. package/build/lib/method-map.js.map +1 -1
  156. package/build/lib/utils.d.ts +12 -0
  157. package/build/lib/utils.d.ts.map +1 -1
  158. package/build/lib/utils.js +38 -2
  159. package/build/lib/utils.js.map +1 -1
  160. package/lib/commands/app-management.js +470 -145
  161. package/lib/commands/appearance.js +29 -36
  162. package/lib/commands/context/cache.js +29 -0
  163. package/lib/commands/context/exports.js +379 -0
  164. package/lib/commands/context/helpers.js +802 -0
  165. package/lib/commands/device/common.js +264 -0
  166. package/lib/commands/device/emulator-actions.js +194 -0
  167. package/lib/commands/device/emulator-console.js +24 -0
  168. package/lib/commands/device/utils.js +285 -0
  169. package/lib/commands/deviceidle.js +31 -44
  170. package/lib/commands/element.js +149 -142
  171. package/lib/commands/execute.js +86 -87
  172. package/lib/commands/file-actions.js +249 -222
  173. package/lib/commands/find.ts +13 -19
  174. package/lib/commands/geolocation.js +179 -0
  175. package/lib/commands/ime.js +53 -45
  176. package/lib/commands/intent.js +149 -91
  177. package/lib/commands/keyboard.js +114 -17
  178. package/lib/commands/lock/exports.js +139 -0
  179. package/lib/commands/lock/helpers.js +379 -0
  180. package/lib/commands/log.js +170 -166
  181. package/lib/commands/media-projection.js +75 -70
  182. package/lib/commands/memory.js +17 -29
  183. package/lib/commands/misc.js +94 -0
  184. package/lib/commands/network.js +209 -223
  185. package/lib/commands/performance.js +88 -73
  186. package/lib/commands/permissions.js +83 -84
  187. package/lib/commands/recordscreen.js +171 -170
  188. package/lib/commands/resources.js +96 -0
  189. package/lib/commands/shell.js +28 -42
  190. package/lib/commands/streamscreen.js +207 -206
  191. package/lib/commands/system-bars.js +76 -77
  192. package/lib/commands/time.js +36 -0
  193. package/lib/commands/touch.js +442 -346
  194. package/lib/commands/types.ts +123 -2
  195. package/lib/doctor/checks.js +24 -16
  196. package/lib/driver.ts +454 -12
  197. package/lib/index.ts +1 -13
  198. package/lib/logger.js +1 -1
  199. package/lib/method-map.js +0 -11
  200. package/lib/utils.js +40 -3
  201. package/package.json +1 -1
  202. package/build/lib/commands/actions.d.ts +0 -8
  203. package/build/lib/commands/actions.d.ts.map +0 -1
  204. package/build/lib/commands/actions.js +0 -207
  205. package/build/lib/commands/actions.js.map +0 -1
  206. package/build/lib/commands/alert.d.ts +0 -8
  207. package/build/lib/commands/alert.d.ts.map +0 -1
  208. package/build/lib/commands/alert.js +0 -29
  209. package/build/lib/commands/alert.js.map +0 -1
  210. package/build/lib/commands/context.d.ts +0 -10
  211. package/build/lib/commands/context.d.ts.map +0 -1
  212. package/build/lib/commands/context.js +0 -431
  213. package/build/lib/commands/context.js.map +0 -1
  214. package/build/lib/commands/emu-console.d.ts +0 -7
  215. package/build/lib/commands/emu-console.d.ts.map +0 -1
  216. package/build/lib/commands/emu-console.js +0 -27
  217. package/build/lib/commands/emu-console.js.map +0 -1
  218. package/build/lib/commands/general.d.ts +0 -9
  219. package/build/lib/commands/general.d.ts.map +0 -1
  220. package/build/lib/commands/general.js +0 -293
  221. package/build/lib/commands/general.js.map +0 -1
  222. package/build/lib/commands/index.d.ts +0 -28
  223. package/build/lib/commands/index.d.ts.map +0 -1
  224. package/build/lib/commands/index.js +0 -57
  225. package/build/lib/commands/index.js.map +0 -1
  226. package/build/lib/commands/mixins.d.ts +0 -747
  227. package/build/lib/commands/mixins.d.ts.map +0 -1
  228. package/build/lib/commands/mixins.js +0 -19
  229. package/build/lib/commands/mixins.js.map +0 -1
  230. package/build/lib/helpers/android.d.ts +0 -163
  231. package/build/lib/helpers/android.d.ts.map +0 -1
  232. package/build/lib/helpers/android.js +0 -818
  233. package/build/lib/helpers/android.js.map +0 -1
  234. package/build/lib/helpers/index.d.ts +0 -7
  235. package/build/lib/helpers/index.d.ts.map +0 -1
  236. package/build/lib/helpers/index.js +0 -29
  237. package/build/lib/helpers/index.js.map +0 -1
  238. package/build/lib/helpers/types.d.ts +0 -122
  239. package/build/lib/helpers/types.d.ts.map +0 -1
  240. package/build/lib/helpers/types.js +0 -3
  241. package/build/lib/helpers/types.js.map +0 -1
  242. package/build/lib/helpers/unlock.d.ts +0 -32
  243. package/build/lib/helpers/unlock.d.ts.map +0 -1
  244. package/build/lib/helpers/unlock.js +0 -273
  245. package/build/lib/helpers/unlock.js.map +0 -1
  246. package/build/lib/helpers/webview.d.ts +0 -74
  247. package/build/lib/helpers/webview.d.ts.map +0 -1
  248. package/build/lib/helpers/webview.js +0 -448
  249. package/build/lib/helpers/webview.js.map +0 -1
  250. package/lib/commands/actions.js +0 -244
  251. package/lib/commands/alert.js +0 -34
  252. package/lib/commands/context.js +0 -507
  253. package/lib/commands/emu-console.js +0 -31
  254. package/lib/commands/general.js +0 -343
  255. package/lib/commands/index.ts +0 -54
  256. package/lib/commands/mixins.ts +0 -976
  257. package/lib/helpers/android.ts +0 -1153
  258. package/lib/helpers/index.ts +0 -6
  259. package/lib/helpers/types.ts +0 -136
  260. package/lib/helpers/unlock.ts +0 -329
  261. package/lib/helpers/webview.ts +0 -610
@@ -1,244 +0,0 @@
1
- // @ts-check
2
-
3
- import {util} from '@appium/support';
4
- import B from 'bluebird';
5
- import {AndroidHelpers} from '../helpers';
6
- import {requireArgs} from '../utils';
7
- import {mixin} from './mixins';
8
- import {errors} from 'appium/driver';
9
-
10
- const dragStepsPerSec = 40;
11
-
12
- /**
13
- * @type {import('./mixins').ActionsMixin & ThisType<import('../driver').AndroidDriver>}
14
- * @satisfies {import('@appium/types').ExternalDriver}
15
- */
16
- const ActionsMixin = {
17
- async keyevent(keycode, metastate) {
18
- // TODO deprecate keyevent; currently wd only implements keyevent
19
- this.log.warn('keyevent will be deprecated use pressKeyCode');
20
- return await this.pressKeyCode(keycode, metastate);
21
- },
22
-
23
- async pressKeyCode(keycode, metastate) {
24
- throw new errors.NotImplementedError('Not implemented');
25
- },
26
-
27
- async longPressKeyCode(keycode, metastate) {
28
- throw new errors.NotImplementedError('Not implemented');
29
- },
30
-
31
- async getOrientation() {
32
- throw new errors.NotImplementedError('Not implemented');
33
- },
34
-
35
- async setOrientation(orientation) {
36
- throw new errors.NotImplementedError('Not implemented');
37
- },
38
-
39
- async fakeFlick(xSpeed, ySpeed) {
40
- throw new errors.NotImplementedError('Not implemented');
41
- },
42
-
43
- async fakeFlickElement(elementId, xoffset, yoffset, speed) {
44
- throw new errors.NotImplementedError('Not implemented');
45
- },
46
-
47
- async swipe(startX, startY, endX, endY, duration, touchCount, elId) {
48
- throw new errors.NotImplementedError('Not implemented');
49
- },
50
-
51
- async doSwipe(swipeOpts) {
52
- throw new errors.NotImplementedError('Not implemented');
53
- },
54
-
55
- async pinchClose(startX, startY, endX, endY, duration, percent, steps, elId) {
56
- throw new errors.NotImplementedError('Not implemented');
57
- },
58
-
59
- async pinchOpen(startX, startY, endX, endY, duration, percent, steps, elId) {
60
- throw new errors.NotImplementedError('Not implemented');
61
- },
62
-
63
- async flick(element, xSpeed, ySpeed, xOffset, yOffset, speed) {
64
- if (element) {
65
- await this.fakeFlickElement(element, xOffset, yOffset, speed);
66
- } else {
67
- await this.fakeFlick(xSpeed, ySpeed);
68
- }
69
- },
70
-
71
- async drag(startX, startY, endX, endY, duration, touchCount, elementId, destElId) {
72
- let dragOpts = {
73
- elementId,
74
- destElId,
75
- startX,
76
- startY,
77
- endX,
78
- endY,
79
- steps: Math.round(duration * dragStepsPerSec),
80
- };
81
- return await this.doDrag(dragOpts);
82
- },
83
-
84
- async doDrag(dragOpts) {
85
- throw new errors.NotImplementedError('Not implemented');
86
- },
87
-
88
- async mobileLock(opts = {}) {
89
- const {seconds} = opts;
90
- return await this.lock(seconds);
91
- },
92
-
93
- async lock(seconds) {
94
- await this.adb.lock();
95
- if (Number.isNaN(seconds)) {
96
- return;
97
- }
98
-
99
- const floatSeconds = parseFloat(String(seconds));
100
- if (floatSeconds <= 0) {
101
- return;
102
- }
103
- await B.delay(1000 * floatSeconds);
104
- await this.unlock();
105
- },
106
-
107
- async isLocked() {
108
- return await this.adb.isScreenLocked();
109
- },
110
-
111
- async unlock() {
112
- return await AndroidHelpers.unlock(this, this.adb, this.caps);
113
- },
114
-
115
- async openNotifications() {
116
- throw new errors.NotImplementedError('Not implemented');
117
- },
118
-
119
- async setLocation(latitude, longitude) {
120
- await this.adb.sendTelnetCommand(`geo fix ${longitude} ${latitude}`);
121
- },
122
-
123
- async fingerprint(fingerprintId) {
124
- if (!this.isEmulator()) {
125
- this.log.errorAndThrow('fingerprint method is only available for emulators');
126
- }
127
- await this.adb.fingerprint(String(fingerprintId));
128
- },
129
-
130
- async mobileFingerprint(opts) {
131
- const {fingerprintId} = requireArgs('fingerprintId', opts);
132
- await this.fingerprint(fingerprintId);
133
- },
134
-
135
- async sendSMS(phoneNumber, message) {
136
- if (!this.isEmulator()) {
137
- this.log.errorAndThrow('sendSMS method is only available for emulators');
138
- }
139
- await this.adb.sendSMS(phoneNumber, message);
140
- },
141
-
142
- async mobileSendSms(opts) {
143
- const {phoneNumber, message} = requireArgs(['phoneNumber', 'message'], opts);
144
- await this.sendSMS(phoneNumber, message);
145
- },
146
-
147
- async gsmCall(phoneNumber, action) {
148
- if (!this.isEmulator()) {
149
- this.log.errorAndThrow('gsmCall method is only available for emulators');
150
- }
151
- await this.adb.gsmCall(phoneNumber, /** @type {any} */(action));
152
- },
153
-
154
- async mobileGsmCall(opts) {
155
- const {phoneNumber, action} = requireArgs(['phoneNumber', 'action'], opts);
156
- await this.gsmCall(phoneNumber, action);
157
- },
158
-
159
- async gsmSignal(signalStrengh) {
160
- if (!this.isEmulator()) {
161
- this.log.errorAndThrow('gsmSignal method is only available for emulators');
162
- }
163
- await this.adb.gsmSignal(signalStrengh);
164
- },
165
-
166
- async mobileGsmSignal(opts) {
167
- const {strength} = requireArgs('strength', opts);
168
- await this.gsmSignal(strength);
169
- },
170
-
171
- async gsmVoice(state) {
172
- if (!this.isEmulator()) {
173
- this.log.errorAndThrow('gsmVoice method is only available for emulators');
174
- }
175
- await this.adb.gsmVoice(state);
176
- },
177
-
178
- async mobileGsmVoice(opts) {
179
- const {state} = requireArgs('state', opts);
180
- await this.gsmVoice(state);
181
- },
182
-
183
- async powerAC(state) {
184
- if (!this.isEmulator()) {
185
- this.log.errorAndThrow('powerAC method is only available for emulators');
186
- }
187
- await this.adb.powerAC(state);
188
- },
189
-
190
- async mobilePowerAc(opts) {
191
- const {state} = requireArgs('state', opts);
192
- await this.powerAC(state);
193
- },
194
-
195
- async powerCapacity(batteryPercent) {
196
- if (!this.isEmulator()) {
197
- this.log.errorAndThrow('powerCapacity method is only available for emulators');
198
- }
199
- await this.adb.powerCapacity(batteryPercent);
200
- },
201
-
202
- async mobilePowerCapacity(opts) {
203
- const {percent} = requireArgs('percent', opts);
204
- await this.powerCapacity(percent);
205
- },
206
-
207
- async networkSpeed(networkSpeed) {
208
- if (!this.isEmulator()) {
209
- this.log.errorAndThrow('networkSpeed method is only available for emulators');
210
- }
211
- await this.adb.networkSpeed(networkSpeed);
212
- },
213
-
214
- async mobileNetworkSpeed(opts) {
215
- const {speed} = requireArgs('speed', opts);
216
- await this.networkSpeed(speed);
217
- },
218
-
219
- async sensorSet(opts) {
220
- const {sensorType, value} = opts;
221
- if (!util.hasValue(sensorType)) {
222
- this.log.errorAndThrow(`'sensorType' argument is required`);
223
- }
224
- if (!util.hasValue(value)) {
225
- this.log.errorAndThrow(`'value' argument is required`);
226
- }
227
- if (!this.isEmulator()) {
228
- this.log.errorAndThrow('sensorSet method is only available for emulators');
229
- }
230
- await this.adb.sensorSet(sensorType, /** @type {any} */(value));
231
- },
232
-
233
- async getScreenshot() {
234
- throw new errors.NotImplementedError('Not implemented');
235
- },
236
- };
237
-
238
- mixin(ActionsMixin);
239
-
240
- export default ActionsMixin;
241
-
242
- /**
243
- * @typedef {import('appium-adb').ADB} ADB
244
- */
@@ -1,34 +0,0 @@
1
- // @ts-check
2
-
3
- import {errors} from 'appium/driver';
4
- import {mixin} from './mixins';
5
-
6
- /**
7
- * @type {AlertMixin & ThisType<import('../driver').AndroidDriver>}
8
- * @satisfies {import('@appium/types').ExternalDriver}
9
- */
10
- const AlertMixin = {
11
- getAlertText() {
12
- throw new errors.NotYetImplementedError();
13
- },
14
-
15
- setAlertText() {
16
- throw new errors.NotYetImplementedError();
17
- },
18
-
19
- postAcceptAlert() {
20
- throw new errors.NotYetImplementedError();
21
- },
22
-
23
- postDismissAlert() {
24
- throw new errors.NotYetImplementedError();
25
- },
26
- };
27
-
28
- mixin(AlertMixin);
29
-
30
- export default AlertMixin;
31
-
32
- /**
33
- * @typedef {import('./mixins').AlertMixin} AlertMixin
34
- */