appium-xcuitest-driver 10.8.3 → 10.9.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 +12 -0
- package/build/lib/app-utils.d.ts +2 -2
- package/build/lib/app-utils.d.ts.map +1 -1
- package/build/lib/app-utils.js +4 -1
- package/build/lib/app-utils.js.map +1 -1
- package/build/lib/commands/app-management.js +2 -2
- package/build/lib/commands/app-management.js.map +1 -1
- package/build/lib/commands/appearance.js +2 -2
- package/build/lib/commands/appearance.js.map +1 -1
- package/build/lib/commands/biometric.js +3 -3
- package/build/lib/commands/biometric.js.map +1 -1
- package/build/lib/commands/certificate.d.ts.map +1 -1
- package/build/lib/commands/certificate.js +9 -3
- package/build/lib/commands/certificate.js.map +1 -1
- package/build/lib/commands/context.d.ts +5 -5
- package/build/lib/commands/context.d.ts.map +1 -1
- package/build/lib/commands/context.js +6 -6
- package/build/lib/commands/context.js.map +1 -1
- package/build/lib/commands/file-movement.d.ts.map +1 -1
- package/build/lib/commands/file-movement.js +7 -7
- package/build/lib/commands/file-movement.js.map +1 -1
- package/build/lib/commands/general.js +1 -1
- package/build/lib/commands/general.js.map +1 -1
- package/build/lib/commands/gesture.js +1 -1
- package/build/lib/commands/gesture.js.map +1 -1
- package/build/lib/commands/keychains.js +1 -1
- package/build/lib/commands/keychains.js.map +1 -1
- package/build/lib/commands/localization.js +1 -1
- package/build/lib/commands/localization.js.map +1 -1
- package/build/lib/commands/location.js +1 -1
- package/build/lib/commands/location.js.map +1 -1
- package/build/lib/commands/log.js +7 -7
- package/build/lib/commands/log.js.map +1 -1
- package/build/lib/commands/memory.js +1 -1
- package/build/lib/commands/memory.js.map +1 -1
- package/build/lib/commands/notifications.js +1 -1
- package/build/lib/commands/notifications.js.map +1 -1
- package/build/lib/commands/pasteboard.js +2 -2
- package/build/lib/commands/pasteboard.js.map +1 -1
- package/build/lib/commands/pcap.js +1 -1
- package/build/lib/commands/pcap.js.map +1 -1
- package/build/lib/commands/performance.d.ts.map +1 -1
- package/build/lib/commands/performance.js +13 -4
- package/build/lib/commands/performance.js.map +1 -1
- package/build/lib/commands/permissions.js +2 -2
- package/build/lib/commands/permissions.js.map +1 -1
- package/build/lib/commands/proxy-helper.d.ts.map +1 -1
- package/build/lib/commands/proxy-helper.js +0 -3
- package/build/lib/commands/proxy-helper.js.map +1 -1
- package/build/lib/commands/screenshots.js +1 -1
- package/build/lib/commands/screenshots.js.map +1 -1
- package/build/lib/commands/simctl.d.ts +1 -1
- package/build/lib/commands/simctl.d.ts.map +1 -1
- package/build/lib/commands/simctl.js +1 -1
- package/build/lib/commands/simctl.js.map +1 -1
- package/build/lib/commands/web.js +1 -1
- package/build/lib/commands/web.js.map +1 -1
- package/build/lib/commands/xctest-record-screen.js +2 -2
- package/build/lib/commands/xctest-record-screen.js.map +1 -1
- package/build/lib/desired-caps.d.ts +383 -507
- package/build/lib/desired-caps.d.ts.map +1 -1
- package/build/lib/desired-caps.js +6 -10
- package/build/lib/desired-caps.js.map +1 -1
- package/build/lib/device/clients/base-device-client.d.ts.map +1 -0
- package/build/lib/device/clients/base-device-client.js.map +1 -0
- package/build/lib/{real-device-clients → device/clients}/py-ios-device-client.d.ts +1 -1
- package/build/lib/device/clients/py-ios-device-client.d.ts.map +1 -0
- package/build/lib/device/clients/py-ios-device-client.js.map +1 -0
- package/build/lib/device/device-connections-factory.d.ts +18 -0
- package/build/lib/device/device-connections-factory.d.ts.map +1 -0
- package/build/lib/{device-connections-factory.js → device/device-connections-factory.js} +57 -41
- package/build/lib/device/device-connections-factory.js.map +1 -0
- package/build/lib/{device-log → device/log}/helpers.d.ts +1 -1
- package/build/lib/device/log/helpers.d.ts.map +1 -0
- package/build/lib/device/log/helpers.js.map +1 -0
- package/build/lib/{device-log → device/log}/ios-crash-log.d.ts +1 -1
- package/build/lib/device/log/ios-crash-log.d.ts.map +1 -0
- package/build/lib/{device-log → device/log}/ios-crash-log.js +1 -1
- package/build/lib/device/log/ios-crash-log.js.map +1 -0
- package/build/lib/device/log/ios-device-log.d.ts.map +1 -0
- package/build/lib/device/log/ios-device-log.js.map +1 -0
- package/build/lib/{device-log → device/log}/ios-log.d.ts +1 -1
- package/build/lib/device/log/ios-log.d.ts.map +1 -0
- package/build/lib/device/log/ios-log.js.map +1 -0
- package/build/lib/device/log/ios-performance-log.d.ts.map +1 -0
- package/build/lib/device/log/ios-performance-log.js.map +1 -0
- package/build/lib/device/log/ios-simulator-log.d.ts.map +1 -0
- package/build/lib/device/log/ios-simulator-log.js.map +1 -0
- package/build/lib/{device-log → device/log}/line-consuming-log.d.ts +1 -1
- package/build/lib/device/log/line-consuming-log.d.ts.map +1 -0
- package/build/lib/device/log/line-consuming-log.js.map +1 -0
- package/build/lib/{device-log → device/log}/safari-console-log.d.ts +1 -1
- package/build/lib/device/log/safari-console-log.d.ts.map +1 -0
- package/build/lib/device/log/safari-console-log.js.map +1 -0
- package/build/lib/device/log/safari-network-log.d.ts.map +1 -0
- package/build/lib/device/log/safari-network-log.js.map +1 -0
- package/build/lib/device/real-device-management.d.ts +146 -0
- package/build/lib/device/real-device-management.d.ts.map +1 -0
- package/build/lib/device/real-device-management.js +728 -0
- package/build/lib/device/real-device-management.js.map +1 -0
- package/build/lib/device/simulator-management.d.ts +65 -0
- package/build/lib/device/simulator-management.d.ts.map +1 -0
- package/build/lib/{simulator-management.js → device/simulator-management.js} +24 -43
- package/build/lib/device/simulator-management.js.map +1 -0
- package/build/lib/driver.d.ts +129 -1385
- package/build/lib/driver.d.ts.map +1 -1
- package/build/lib/driver.js +476 -600
- package/build/lib/driver.js.map +1 -1
- package/build/lib/method-map.d.ts +1 -1
- package/build/lib/method-map.d.ts.map +1 -1
- package/build/lib/method-map.js +2 -2
- package/build/lib/method-map.js.map +1 -1
- package/lib/app-utils.js +5 -1
- package/lib/commands/app-management.js +2 -2
- package/lib/commands/appearance.js +2 -2
- package/lib/commands/biometric.js +3 -3
- package/lib/commands/certificate.js +9 -3
- package/lib/commands/context.js +6 -6
- package/lib/commands/file-movement.js +11 -7
- package/lib/commands/general.js +1 -1
- package/lib/commands/gesture.js +1 -1
- package/lib/commands/keychains.js +1 -1
- package/lib/commands/localization.js +1 -1
- package/lib/commands/location.js +1 -1
- package/lib/commands/log.js +7 -7
- package/lib/commands/memory.js +1 -1
- package/lib/commands/notifications.js +1 -1
- package/lib/commands/pasteboard.js +2 -2
- package/lib/commands/pcap.js +1 -1
- package/lib/commands/performance.js +12 -1
- package/lib/commands/permissions.js +2 -2
- package/lib/commands/proxy-helper.js +0 -3
- package/lib/commands/screenshots.js +1 -1
- package/lib/commands/simctl.js +1 -1
- package/lib/commands/web.js +1 -1
- package/lib/commands/xctest-record-screen.js +2 -2
- package/lib/{desired-caps.js → desired-caps.ts} +7 -6
- package/lib/{real-device-clients → device/clients}/py-ios-device-client.ts +1 -1
- package/lib/{device-connections-factory.js → device/device-connections-factory.ts} +96 -60
- package/lib/{device-log → device/log}/helpers.ts +1 -1
- package/lib/{device-log → device/log}/ios-crash-log.ts +3 -3
- package/lib/{device-log → device/log}/ios-log.ts +1 -1
- package/lib/{device-log → device/log}/line-consuming-log.ts +1 -1
- package/lib/{device-log → device/log}/safari-console-log.ts +1 -1
- package/lib/device/real-device-management.ts +819 -0
- package/lib/{simulator-management.js → device/simulator-management.ts} +69 -62
- package/lib/{driver.js → driver.ts} +619 -713
- package/lib/{method-map.js → method-map.ts} +5 -2
- package/npm-shrinkwrap.json +5 -5
- package/package.json +1 -1
- package/build/lib/device-connections-factory.d.ts +0 -13
- package/build/lib/device-connections-factory.d.ts.map +0 -1
- package/build/lib/device-connections-factory.js.map +0 -1
- package/build/lib/device-log/helpers.d.ts.map +0 -1
- package/build/lib/device-log/helpers.js.map +0 -1
- package/build/lib/device-log/ios-crash-log.d.ts.map +0 -1
- package/build/lib/device-log/ios-crash-log.js.map +0 -1
- package/build/lib/device-log/ios-device-log.d.ts.map +0 -1
- package/build/lib/device-log/ios-device-log.js.map +0 -1
- package/build/lib/device-log/ios-log.d.ts.map +0 -1
- package/build/lib/device-log/ios-log.js.map +0 -1
- package/build/lib/device-log/ios-performance-log.d.ts.map +0 -1
- package/build/lib/device-log/ios-performance-log.js.map +0 -1
- package/build/lib/device-log/ios-simulator-log.d.ts.map +0 -1
- package/build/lib/device-log/ios-simulator-log.js.map +0 -1
- package/build/lib/device-log/line-consuming-log.d.ts.map +0 -1
- package/build/lib/device-log/line-consuming-log.js.map +0 -1
- package/build/lib/device-log/safari-console-log.d.ts.map +0 -1
- package/build/lib/device-log/safari-console-log.js.map +0 -1
- package/build/lib/device-log/safari-network-log.d.ts.map +0 -1
- package/build/lib/device-log/safari-network-log.js.map +0 -1
- package/build/lib/ios-fs-helpers.d.ts +0 -75
- package/build/lib/ios-fs-helpers.d.ts.map +0 -1
- package/build/lib/ios-fs-helpers.js +0 -370
- package/build/lib/ios-fs-helpers.js.map +0 -1
- package/build/lib/real-device-clients/base-device-client.d.ts.map +0 -1
- package/build/lib/real-device-clients/base-device-client.js.map +0 -1
- package/build/lib/real-device-clients/py-ios-device-client.d.ts.map +0 -1
- package/build/lib/real-device-clients/py-ios-device-client.js.map +0 -1
- package/build/lib/real-device-management.d.ts +0 -53
- package/build/lib/real-device-management.d.ts.map +0 -1
- package/build/lib/real-device-management.js +0 -128
- package/build/lib/real-device-management.js.map +0 -1
- package/build/lib/real-device.d.ts +0 -112
- package/build/lib/real-device.d.ts.map +0 -1
- package/build/lib/real-device.js +0 -352
- package/build/lib/real-device.js.map +0 -1
- package/build/lib/simulator-management.d.ts +0 -96
- package/build/lib/simulator-management.d.ts.map +0 -1
- package/build/lib/simulator-management.js.map +0 -1
- package/build/lib/xcrun.d.ts +0 -3
- package/build/lib/xcrun.d.ts.map +0 -1
- package/build/lib/xcrun.js +0 -17
- package/build/lib/xcrun.js.map +0 -1
- package/lib/ios-fs-helpers.js +0 -355
- package/lib/real-device-management.js +0 -133
- package/lib/real-device.js +0 -347
- package/lib/xcrun.js +0 -16
- /package/build/lib/{real-device-clients → device/clients}/base-device-client.d.ts +0 -0
- /package/build/lib/{real-device-clients → device/clients}/base-device-client.js +0 -0
- /package/build/lib/{real-device-clients → device/clients}/py-ios-device-client.js +0 -0
- /package/build/lib/{device-log → device/log}/helpers.js +0 -0
- /package/build/lib/{device-log → device/log}/ios-device-log.d.ts +0 -0
- /package/build/lib/{device-log → device/log}/ios-device-log.js +0 -0
- /package/build/lib/{device-log → device/log}/ios-log.js +0 -0
- /package/build/lib/{device-log → device/log}/ios-performance-log.d.ts +0 -0
- /package/build/lib/{device-log → device/log}/ios-performance-log.js +0 -0
- /package/build/lib/{device-log → device/log}/ios-simulator-log.d.ts +0 -0
- /package/build/lib/{device-log → device/log}/ios-simulator-log.js +0 -0
- /package/build/lib/{device-log → device/log}/line-consuming-log.js +0 -0
- /package/build/lib/{device-log → device/log}/safari-console-log.js +0 -0
- /package/build/lib/{device-log → device/log}/safari-network-log.d.ts +0 -0
- /package/build/lib/{device-log → device/log}/safari-network-log.js +0 -0
- /package/lib/{real-device-clients → device/clients}/base-device-client.ts +0 -0
- /package/lib/{device-log → device/log}/ios-device-log.ts +0 -0
- /package/lib/{device-log → device/log}/ios-performance-log.ts +0 -0
- /package/lib/{device-log → device/log}/ios-simulator-log.ts +0 -0
- /package/lib/{device-log → device/log}/safari-network-log.ts +0 -0
package/build/lib/driver.d.ts
CHANGED
|
@@ -1,768 +1,74 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
readonly isString: true;
|
|
73
|
-
};
|
|
74
|
-
readonly remoteDebugProxy: {
|
|
75
|
-
readonly isString: true;
|
|
76
|
-
};
|
|
77
|
-
readonly enablePerformanceLogging: {
|
|
78
|
-
readonly isBoolean: true;
|
|
79
|
-
};
|
|
80
|
-
readonly enableAsyncExecuteFromHttps: {
|
|
81
|
-
readonly isBoolean: true;
|
|
82
|
-
};
|
|
83
|
-
readonly fullContextList: {
|
|
84
|
-
readonly isBoolean: true;
|
|
85
|
-
};
|
|
86
|
-
readonly ignoreAboutBlankUrl: {
|
|
87
|
-
readonly isBoolean: true;
|
|
88
|
-
};
|
|
89
|
-
readonly skipLogCapture: {
|
|
90
|
-
readonly isBoolean: true;
|
|
91
|
-
};
|
|
92
|
-
readonly deviceName: {
|
|
93
|
-
readonly isString: true;
|
|
94
|
-
};
|
|
95
|
-
readonly showXcodeLog: {
|
|
96
|
-
readonly isBoolean: true;
|
|
97
|
-
};
|
|
98
|
-
readonly wdaLocalPort: {
|
|
99
|
-
readonly isNumber: true;
|
|
100
|
-
};
|
|
101
|
-
readonly wdaRemotePort: {
|
|
102
|
-
readonly isNumber: true;
|
|
103
|
-
};
|
|
104
|
-
readonly wdaBindingIP: {
|
|
105
|
-
readonly isString: true;
|
|
106
|
-
};
|
|
107
|
-
readonly wdaBaseUrl: {
|
|
108
|
-
readonly isString: true;
|
|
109
|
-
};
|
|
110
|
-
readonly iosInstallPause: {
|
|
111
|
-
readonly isNumber: true;
|
|
112
|
-
};
|
|
113
|
-
readonly xcodeConfigFile: {
|
|
114
|
-
readonly isString: true;
|
|
115
|
-
};
|
|
116
|
-
readonly xcodeOrgId: {
|
|
117
|
-
readonly isString: true;
|
|
118
|
-
};
|
|
119
|
-
readonly xcodeSigningId: {
|
|
120
|
-
readonly isString: true;
|
|
121
|
-
};
|
|
122
|
-
readonly keychainPath: {
|
|
123
|
-
readonly isString: true;
|
|
124
|
-
};
|
|
125
|
-
readonly keychainPassword: {
|
|
126
|
-
readonly isString: true;
|
|
127
|
-
};
|
|
128
|
-
readonly bootstrapPath: {
|
|
129
|
-
readonly isString: true;
|
|
130
|
-
};
|
|
131
|
-
readonly agentPath: {
|
|
132
|
-
readonly isString: true;
|
|
133
|
-
};
|
|
134
|
-
readonly scaleFactor: {
|
|
135
|
-
readonly isString: true;
|
|
136
|
-
};
|
|
137
|
-
readonly usePrebuiltWDA: {
|
|
138
|
-
readonly isBoolean: true;
|
|
139
|
-
};
|
|
140
|
-
readonly prebuiltWDAPath: {
|
|
141
|
-
readonly isString: true;
|
|
142
|
-
};
|
|
143
|
-
readonly usePreinstalledWDA: {
|
|
144
|
-
readonly isBoolean: true;
|
|
145
|
-
};
|
|
146
|
-
readonly updatedWDABundleIdSuffix: {
|
|
147
|
-
readonly isString: true;
|
|
148
|
-
};
|
|
149
|
-
readonly webDriverAgentUrl: {
|
|
150
|
-
readonly isString: true;
|
|
151
|
-
};
|
|
152
|
-
readonly derivedDataPath: {
|
|
153
|
-
readonly isString: true;
|
|
154
|
-
};
|
|
155
|
-
readonly launchWithIDB: {
|
|
156
|
-
readonly isBoolean: true;
|
|
157
|
-
readonly deprecated: true;
|
|
158
|
-
};
|
|
159
|
-
readonly useNewWDA: {
|
|
160
|
-
readonly isBoolean: true;
|
|
161
|
-
};
|
|
162
|
-
readonly wdaLaunchTimeout: {
|
|
163
|
-
readonly isNumber: true;
|
|
164
|
-
};
|
|
165
|
-
readonly wdaConnectionTimeout: {
|
|
166
|
-
readonly isNumber: true;
|
|
167
|
-
};
|
|
168
|
-
readonly updatedWDABundleId: {
|
|
169
|
-
readonly isString: true;
|
|
170
|
-
};
|
|
171
|
-
readonly resetOnSessionStartOnly: {
|
|
172
|
-
readonly isBoolean: true;
|
|
173
|
-
};
|
|
174
|
-
readonly commandTimeouts: {};
|
|
175
|
-
readonly wdaStartupRetries: {
|
|
176
|
-
readonly isNumber: true;
|
|
177
|
-
};
|
|
178
|
-
readonly wdaStartupRetryInterval: {
|
|
179
|
-
readonly isNumber: true;
|
|
180
|
-
};
|
|
181
|
-
readonly prebuildWDA: {
|
|
182
|
-
readonly isBoolean: true;
|
|
183
|
-
};
|
|
184
|
-
readonly connectHardwareKeyboard: {
|
|
185
|
-
readonly isBoolean: true;
|
|
186
|
-
};
|
|
187
|
-
readonly forceTurnOnSoftwareKeyboardSimulator: {
|
|
188
|
-
readonly isBoolean: true;
|
|
189
|
-
};
|
|
190
|
-
readonly simulatorPasteboardAutomaticSync: {
|
|
191
|
-
readonly isString: true;
|
|
192
|
-
};
|
|
193
|
-
readonly simulatorDevicesSetPath: {
|
|
194
|
-
readonly isString: true;
|
|
195
|
-
};
|
|
196
|
-
readonly calendarAccessAuthorized: {
|
|
197
|
-
readonly isBoolean: true;
|
|
198
|
-
readonly deprecated: true;
|
|
199
|
-
};
|
|
200
|
-
readonly useSimpleBuildTest: {
|
|
201
|
-
readonly isBoolean: true;
|
|
202
|
-
readonly deprecated: true;
|
|
203
|
-
};
|
|
204
|
-
readonly waitForQuiescence: {
|
|
205
|
-
readonly isBoolean: true;
|
|
206
|
-
readonly deprecated: true;
|
|
207
|
-
};
|
|
208
|
-
readonly maxTypingFrequency: {
|
|
209
|
-
readonly isNumber: true;
|
|
210
|
-
};
|
|
211
|
-
readonly nativeTyping: {
|
|
212
|
-
readonly isBoolean: true;
|
|
213
|
-
};
|
|
214
|
-
readonly simpleIsVisibleCheck: {
|
|
215
|
-
readonly isBoolean: true;
|
|
216
|
-
};
|
|
217
|
-
readonly shouldUseSingletonTestManager: {
|
|
218
|
-
readonly isBoolean: true;
|
|
219
|
-
};
|
|
220
|
-
readonly isHeadless: {
|
|
221
|
-
readonly isBoolean: true;
|
|
222
|
-
};
|
|
223
|
-
readonly useXctestrunFile: {
|
|
224
|
-
readonly isBoolean: true;
|
|
225
|
-
};
|
|
226
|
-
readonly absoluteWebLocations: {
|
|
227
|
-
readonly isBoolean: true;
|
|
228
|
-
};
|
|
229
|
-
readonly simulatorWindowCenter: {
|
|
230
|
-
readonly isString: true;
|
|
231
|
-
};
|
|
232
|
-
readonly simulatorStartupTimeout: {
|
|
233
|
-
readonly isNumber: true;
|
|
234
|
-
};
|
|
235
|
-
readonly simulatorTracePointer: {
|
|
236
|
-
readonly isBoolean: true;
|
|
237
|
-
};
|
|
238
|
-
readonly useJSONSource: {
|
|
239
|
-
readonly isBoolean: true;
|
|
240
|
-
};
|
|
241
|
-
readonly enforceFreshSimulatorCreation: {
|
|
242
|
-
readonly isBoolean: true;
|
|
243
|
-
};
|
|
244
|
-
readonly shutdownOtherSimulators: {
|
|
245
|
-
readonly isBoolean: true;
|
|
246
|
-
};
|
|
247
|
-
readonly keychainsExcludePatterns: {
|
|
248
|
-
readonly isString: true;
|
|
249
|
-
};
|
|
250
|
-
readonly showSafariConsoleLog: {
|
|
251
|
-
readonly isBoolean: true;
|
|
252
|
-
};
|
|
253
|
-
readonly showSafariNetworkLog: {
|
|
254
|
-
readonly isBoolean: true;
|
|
255
|
-
};
|
|
256
|
-
readonly safariGarbageCollect: {
|
|
257
|
-
readonly isBoolean: true;
|
|
258
|
-
};
|
|
259
|
-
readonly safariGlobalPreferences: {
|
|
260
|
-
readonly isObject: true;
|
|
261
|
-
};
|
|
262
|
-
readonly safariLogAllCommunication: {
|
|
263
|
-
readonly isBoolean: true;
|
|
264
|
-
};
|
|
265
|
-
readonly safariLogAllCommunicationHexDump: {
|
|
266
|
-
readonly isBoolean: true;
|
|
267
|
-
};
|
|
268
|
-
readonly safariSocketChunkSize: {
|
|
269
|
-
readonly isNumber: true;
|
|
270
|
-
};
|
|
271
|
-
readonly mjpegServerPort: {
|
|
272
|
-
readonly isNumber: true;
|
|
273
|
-
};
|
|
274
|
-
readonly reduceMotion: {
|
|
275
|
-
readonly isBoolean: true;
|
|
276
|
-
};
|
|
277
|
-
readonly reduceTransparency: {
|
|
278
|
-
readonly isBoolean: true;
|
|
279
|
-
};
|
|
280
|
-
readonly autoFillPasswords: {
|
|
281
|
-
readonly isBoolean: true;
|
|
282
|
-
};
|
|
283
|
-
readonly mjpegScreenshotUrl: {
|
|
284
|
-
readonly isString: true;
|
|
285
|
-
};
|
|
286
|
-
readonly permissions: {
|
|
287
|
-
readonly isString: true;
|
|
288
|
-
};
|
|
289
|
-
readonly screenshotQuality: {
|
|
290
|
-
readonly isNumber: true;
|
|
291
|
-
};
|
|
292
|
-
readonly wdaEventloopIdleDelay: {
|
|
293
|
-
readonly isNumber: true;
|
|
294
|
-
};
|
|
295
|
-
readonly otherApps: {
|
|
296
|
-
readonly isString: true;
|
|
297
|
-
};
|
|
298
|
-
readonly includeSafariInWebviews: {
|
|
299
|
-
readonly isBoolean: true;
|
|
300
|
-
};
|
|
301
|
-
readonly additionalWebviewBundleIds: {};
|
|
302
|
-
readonly webviewConnectTimeout: {
|
|
303
|
-
readonly isNumber: true;
|
|
304
|
-
};
|
|
305
|
-
readonly webviewAtomWaitTimeout: {
|
|
306
|
-
readonly isNumber: true;
|
|
307
|
-
};
|
|
308
|
-
readonly showIOSLog: {
|
|
309
|
-
readonly isBoolean: true;
|
|
310
|
-
};
|
|
311
|
-
readonly iosSimulatorLogsPredicate: {
|
|
312
|
-
readonly isString: true;
|
|
313
|
-
};
|
|
314
|
-
readonly iosSyslogFile: {
|
|
315
|
-
readonly isString: true;
|
|
316
|
-
};
|
|
317
|
-
readonly simulatorLogLevel: {
|
|
318
|
-
readonly isString: true;
|
|
319
|
-
};
|
|
320
|
-
readonly appPushTimeout: {
|
|
321
|
-
readonly isNumber: true;
|
|
322
|
-
};
|
|
323
|
-
readonly nativeWebTapStrict: {
|
|
324
|
-
readonly isBoolean: true;
|
|
325
|
-
};
|
|
326
|
-
readonly safariWebInspectorMaxFrameLength: {
|
|
327
|
-
readonly isNumber: true;
|
|
328
|
-
};
|
|
329
|
-
readonly allowProvisioningDeviceRegistration: {
|
|
330
|
-
readonly isBoolean: true;
|
|
331
|
-
};
|
|
332
|
-
readonly waitForIdleTimeout: {
|
|
333
|
-
readonly isNumber: true;
|
|
334
|
-
};
|
|
335
|
-
readonly resultBundlePath: {
|
|
336
|
-
readonly isString: true;
|
|
337
|
-
};
|
|
338
|
-
readonly resultBundleVersion: {
|
|
339
|
-
readonly isNumber: true;
|
|
340
|
-
};
|
|
341
|
-
readonly safariIgnoreWebHostnames: {
|
|
342
|
-
readonly isString: true;
|
|
343
|
-
};
|
|
344
|
-
readonly disableAutomaticScreenshots: {
|
|
345
|
-
readonly isBoolean: true;
|
|
346
|
-
};
|
|
347
|
-
readonly shouldTerminateApp: {
|
|
348
|
-
readonly isBoolean: true;
|
|
349
|
-
};
|
|
350
|
-
readonly forceAppLaunch: {
|
|
351
|
-
readonly isBoolean: true;
|
|
352
|
-
};
|
|
353
|
-
readonly useNativeCachingStrategy: {
|
|
354
|
-
readonly isBoolean: true;
|
|
355
|
-
};
|
|
356
|
-
readonly appInstallStrategy: {
|
|
357
|
-
readonly deprecated: true;
|
|
358
|
-
readonly isString: true;
|
|
359
|
-
readonly inclusionCaseInsensitive: readonly ["serial", "parallel", "ios-deploy"];
|
|
360
|
-
};
|
|
361
|
-
readonly enforceAppInstall: {
|
|
362
|
-
readonly isBoolean: true;
|
|
363
|
-
};
|
|
364
|
-
readonly skipTriggerInputEventAfterSendkeys: {
|
|
365
|
-
readonly isBoolean: true;
|
|
366
|
-
};
|
|
367
|
-
readonly sendKeyStrategy: {
|
|
368
|
-
readonly isString: true;
|
|
369
|
-
};
|
|
370
|
-
readonly skipSyncUiDialogTranslation: {
|
|
371
|
-
readonly isBoolean: true;
|
|
372
|
-
};
|
|
373
|
-
readonly forceSimulatorSoftwareKeyboardPresence: {
|
|
374
|
-
readonly isBoolean: true;
|
|
375
|
-
};
|
|
376
|
-
readonly appLaunchStateTimeoutSec: {
|
|
377
|
-
readonly isNumber: true;
|
|
378
|
-
};
|
|
379
|
-
readonly appTimeZone: {
|
|
380
|
-
readonly isString: true;
|
|
381
|
-
};
|
|
382
|
-
readonly pageLoadStrategy: {
|
|
383
|
-
readonly isString: true;
|
|
384
|
-
readonly inclusionCaseInsensitive: readonly ["none", "eager", "normal"];
|
|
385
|
-
};
|
|
386
|
-
}, import("@appium/types").StringRecord, import("@appium/types").StringRecord, import("@appium/types").DefaultCreateSessionResult<{
|
|
387
|
-
readonly platformName: {
|
|
388
|
-
readonly presence: true;
|
|
389
|
-
readonly isString: true;
|
|
390
|
-
readonly inclusionCaseInsensitive: readonly ["iOS", "tvOS"];
|
|
391
|
-
};
|
|
392
|
-
readonly browserName: {
|
|
393
|
-
readonly isString: true;
|
|
394
|
-
};
|
|
395
|
-
readonly app: {
|
|
396
|
-
readonly isString: true;
|
|
397
|
-
};
|
|
398
|
-
readonly calendarFormat: {
|
|
399
|
-
readonly isString: true;
|
|
400
|
-
};
|
|
401
|
-
readonly bundleId: {
|
|
402
|
-
readonly isString: true;
|
|
403
|
-
};
|
|
404
|
-
readonly udid: {
|
|
405
|
-
readonly isString: true;
|
|
406
|
-
};
|
|
407
|
-
readonly autoAcceptAlerts: {
|
|
408
|
-
readonly isBoolean: true;
|
|
409
|
-
};
|
|
410
|
-
readonly autoDismissAlerts: {
|
|
411
|
-
readonly isBoolean: true;
|
|
412
|
-
};
|
|
413
|
-
readonly nativeWebTap: {
|
|
414
|
-
readonly isBoolean: true;
|
|
415
|
-
};
|
|
416
|
-
readonly safariInitialUrl: {
|
|
417
|
-
readonly isString: true;
|
|
418
|
-
};
|
|
419
|
-
readonly initialDeeplinkUrl: {
|
|
420
|
-
readonly isString: true;
|
|
421
|
-
};
|
|
422
|
-
readonly safariAllowPopups: {
|
|
423
|
-
readonly isBoolean: true;
|
|
424
|
-
};
|
|
425
|
-
readonly safariIgnoreFraudWarning: {
|
|
426
|
-
readonly isBoolean: true;
|
|
427
|
-
};
|
|
428
|
-
readonly safariOpenLinksInBackground: {
|
|
429
|
-
readonly isBoolean: true;
|
|
430
|
-
};
|
|
431
|
-
readonly safariShowFullResponse: {
|
|
432
|
-
readonly isBoolean: true;
|
|
433
|
-
};
|
|
434
|
-
readonly keepKeyChains: {
|
|
435
|
-
readonly isBoolean: true;
|
|
436
|
-
};
|
|
437
|
-
readonly resetLocationService: {
|
|
438
|
-
readonly isBoolean: true;
|
|
439
|
-
};
|
|
440
|
-
readonly localizableStringsDir: {
|
|
441
|
-
readonly isString: true;
|
|
442
|
-
};
|
|
443
|
-
readonly processArguments: {};
|
|
444
|
-
readonly webviewConnectRetries: {
|
|
445
|
-
readonly isNumber: true;
|
|
446
|
-
};
|
|
447
|
-
readonly clearSystemFiles: {
|
|
448
|
-
readonly isBoolean: true;
|
|
449
|
-
};
|
|
450
|
-
readonly customSSLCert: {
|
|
451
|
-
readonly isString: true;
|
|
452
|
-
};
|
|
453
|
-
readonly remoteDebugProxy: {
|
|
454
|
-
readonly isString: true;
|
|
455
|
-
};
|
|
456
|
-
readonly enablePerformanceLogging: {
|
|
457
|
-
readonly isBoolean: true;
|
|
458
|
-
};
|
|
459
|
-
readonly enableAsyncExecuteFromHttps: {
|
|
460
|
-
readonly isBoolean: true;
|
|
461
|
-
};
|
|
462
|
-
readonly fullContextList: {
|
|
463
|
-
readonly isBoolean: true;
|
|
464
|
-
};
|
|
465
|
-
readonly ignoreAboutBlankUrl: {
|
|
466
|
-
readonly isBoolean: true;
|
|
467
|
-
};
|
|
468
|
-
readonly skipLogCapture: {
|
|
469
|
-
readonly isBoolean: true;
|
|
470
|
-
};
|
|
471
|
-
readonly deviceName: {
|
|
472
|
-
readonly isString: true;
|
|
473
|
-
};
|
|
474
|
-
readonly showXcodeLog: {
|
|
475
|
-
readonly isBoolean: true;
|
|
476
|
-
};
|
|
477
|
-
readonly wdaLocalPort: {
|
|
478
|
-
readonly isNumber: true;
|
|
479
|
-
};
|
|
480
|
-
readonly wdaRemotePort: {
|
|
481
|
-
readonly isNumber: true;
|
|
482
|
-
};
|
|
483
|
-
readonly wdaBindingIP: {
|
|
484
|
-
readonly isString: true;
|
|
485
|
-
};
|
|
486
|
-
readonly wdaBaseUrl: {
|
|
487
|
-
readonly isString: true;
|
|
488
|
-
};
|
|
489
|
-
readonly iosInstallPause: {
|
|
490
|
-
readonly isNumber: true;
|
|
491
|
-
};
|
|
492
|
-
readonly xcodeConfigFile: {
|
|
493
|
-
readonly isString: true;
|
|
494
|
-
};
|
|
495
|
-
readonly xcodeOrgId: {
|
|
496
|
-
readonly isString: true;
|
|
497
|
-
};
|
|
498
|
-
readonly xcodeSigningId: {
|
|
499
|
-
readonly isString: true;
|
|
500
|
-
};
|
|
501
|
-
readonly keychainPath: {
|
|
502
|
-
readonly isString: true;
|
|
503
|
-
};
|
|
504
|
-
readonly keychainPassword: {
|
|
505
|
-
readonly isString: true;
|
|
506
|
-
};
|
|
507
|
-
readonly bootstrapPath: {
|
|
508
|
-
readonly isString: true;
|
|
509
|
-
};
|
|
510
|
-
readonly agentPath: {
|
|
511
|
-
readonly isString: true;
|
|
512
|
-
};
|
|
513
|
-
readonly scaleFactor: {
|
|
514
|
-
readonly isString: true;
|
|
515
|
-
};
|
|
516
|
-
readonly usePrebuiltWDA: {
|
|
517
|
-
readonly isBoolean: true;
|
|
518
|
-
};
|
|
519
|
-
readonly prebuiltWDAPath: {
|
|
520
|
-
readonly isString: true;
|
|
521
|
-
};
|
|
522
|
-
readonly usePreinstalledWDA: {
|
|
523
|
-
readonly isBoolean: true;
|
|
524
|
-
};
|
|
525
|
-
readonly updatedWDABundleIdSuffix: {
|
|
526
|
-
readonly isString: true;
|
|
527
|
-
};
|
|
528
|
-
readonly webDriverAgentUrl: {
|
|
529
|
-
readonly isString: true;
|
|
530
|
-
};
|
|
531
|
-
readonly derivedDataPath: {
|
|
532
|
-
readonly isString: true;
|
|
533
|
-
};
|
|
534
|
-
readonly launchWithIDB: {
|
|
535
|
-
readonly isBoolean: true;
|
|
536
|
-
readonly deprecated: true;
|
|
537
|
-
};
|
|
538
|
-
readonly useNewWDA: {
|
|
539
|
-
readonly isBoolean: true;
|
|
540
|
-
};
|
|
541
|
-
readonly wdaLaunchTimeout: {
|
|
542
|
-
readonly isNumber: true;
|
|
543
|
-
};
|
|
544
|
-
readonly wdaConnectionTimeout: {
|
|
545
|
-
readonly isNumber: true;
|
|
546
|
-
};
|
|
547
|
-
readonly updatedWDABundleId: {
|
|
548
|
-
readonly isString: true;
|
|
549
|
-
};
|
|
550
|
-
readonly resetOnSessionStartOnly: {
|
|
551
|
-
readonly isBoolean: true;
|
|
552
|
-
};
|
|
553
|
-
readonly commandTimeouts: {};
|
|
554
|
-
readonly wdaStartupRetries: {
|
|
555
|
-
readonly isNumber: true;
|
|
556
|
-
};
|
|
557
|
-
readonly wdaStartupRetryInterval: {
|
|
558
|
-
readonly isNumber: true;
|
|
559
|
-
};
|
|
560
|
-
readonly prebuildWDA: {
|
|
561
|
-
readonly isBoolean: true;
|
|
562
|
-
};
|
|
563
|
-
readonly connectHardwareKeyboard: {
|
|
564
|
-
readonly isBoolean: true;
|
|
565
|
-
};
|
|
566
|
-
readonly forceTurnOnSoftwareKeyboardSimulator: {
|
|
567
|
-
readonly isBoolean: true;
|
|
568
|
-
};
|
|
569
|
-
readonly simulatorPasteboardAutomaticSync: {
|
|
570
|
-
readonly isString: true;
|
|
571
|
-
};
|
|
572
|
-
readonly simulatorDevicesSetPath: {
|
|
573
|
-
readonly isString: true;
|
|
574
|
-
};
|
|
575
|
-
readonly calendarAccessAuthorized: {
|
|
576
|
-
readonly isBoolean: true;
|
|
577
|
-
readonly deprecated: true;
|
|
578
|
-
};
|
|
579
|
-
readonly useSimpleBuildTest: {
|
|
580
|
-
readonly isBoolean: true;
|
|
581
|
-
readonly deprecated: true;
|
|
582
|
-
};
|
|
583
|
-
readonly waitForQuiescence: {
|
|
584
|
-
readonly isBoolean: true;
|
|
585
|
-
readonly deprecated: true;
|
|
586
|
-
};
|
|
587
|
-
readonly maxTypingFrequency: {
|
|
588
|
-
readonly isNumber: true;
|
|
589
|
-
};
|
|
590
|
-
readonly nativeTyping: {
|
|
591
|
-
readonly isBoolean: true;
|
|
592
|
-
};
|
|
593
|
-
readonly simpleIsVisibleCheck: {
|
|
594
|
-
readonly isBoolean: true;
|
|
595
|
-
};
|
|
596
|
-
readonly shouldUseSingletonTestManager: {
|
|
597
|
-
readonly isBoolean: true;
|
|
598
|
-
};
|
|
599
|
-
readonly isHeadless: {
|
|
600
|
-
readonly isBoolean: true;
|
|
601
|
-
};
|
|
602
|
-
readonly useXctestrunFile: {
|
|
603
|
-
readonly isBoolean: true;
|
|
604
|
-
};
|
|
605
|
-
readonly absoluteWebLocations: {
|
|
606
|
-
readonly isBoolean: true;
|
|
607
|
-
};
|
|
608
|
-
readonly simulatorWindowCenter: {
|
|
609
|
-
readonly isString: true;
|
|
610
|
-
};
|
|
611
|
-
readonly simulatorStartupTimeout: {
|
|
612
|
-
readonly isNumber: true;
|
|
613
|
-
};
|
|
614
|
-
readonly simulatorTracePointer: {
|
|
615
|
-
readonly isBoolean: true;
|
|
616
|
-
};
|
|
617
|
-
readonly useJSONSource: {
|
|
618
|
-
readonly isBoolean: true;
|
|
619
|
-
};
|
|
620
|
-
readonly enforceFreshSimulatorCreation: {
|
|
621
|
-
readonly isBoolean: true;
|
|
622
|
-
};
|
|
623
|
-
readonly shutdownOtherSimulators: {
|
|
624
|
-
readonly isBoolean: true;
|
|
625
|
-
};
|
|
626
|
-
readonly keychainsExcludePatterns: {
|
|
627
|
-
readonly isString: true;
|
|
628
|
-
};
|
|
629
|
-
readonly showSafariConsoleLog: {
|
|
630
|
-
readonly isBoolean: true;
|
|
631
|
-
};
|
|
632
|
-
readonly showSafariNetworkLog: {
|
|
633
|
-
readonly isBoolean: true;
|
|
634
|
-
};
|
|
635
|
-
readonly safariGarbageCollect: {
|
|
636
|
-
readonly isBoolean: true;
|
|
637
|
-
};
|
|
638
|
-
readonly safariGlobalPreferences: {
|
|
639
|
-
readonly isObject: true;
|
|
640
|
-
};
|
|
641
|
-
readonly safariLogAllCommunication: {
|
|
642
|
-
readonly isBoolean: true;
|
|
643
|
-
};
|
|
644
|
-
readonly safariLogAllCommunicationHexDump: {
|
|
645
|
-
readonly isBoolean: true;
|
|
646
|
-
};
|
|
647
|
-
readonly safariSocketChunkSize: {
|
|
648
|
-
readonly isNumber: true;
|
|
649
|
-
};
|
|
650
|
-
readonly mjpegServerPort: {
|
|
651
|
-
readonly isNumber: true;
|
|
652
|
-
};
|
|
653
|
-
readonly reduceMotion: {
|
|
654
|
-
readonly isBoolean: true;
|
|
655
|
-
};
|
|
656
|
-
readonly reduceTransparency: {
|
|
657
|
-
readonly isBoolean: true;
|
|
658
|
-
};
|
|
659
|
-
readonly autoFillPasswords: {
|
|
660
|
-
readonly isBoolean: true;
|
|
661
|
-
};
|
|
662
|
-
readonly mjpegScreenshotUrl: {
|
|
663
|
-
readonly isString: true;
|
|
664
|
-
};
|
|
665
|
-
readonly permissions: {
|
|
666
|
-
readonly isString: true;
|
|
667
|
-
};
|
|
668
|
-
readonly screenshotQuality: {
|
|
669
|
-
readonly isNumber: true;
|
|
670
|
-
};
|
|
671
|
-
readonly wdaEventloopIdleDelay: {
|
|
672
|
-
readonly isNumber: true;
|
|
673
|
-
};
|
|
674
|
-
readonly otherApps: {
|
|
675
|
-
readonly isString: true;
|
|
676
|
-
};
|
|
677
|
-
readonly includeSafariInWebviews: {
|
|
678
|
-
readonly isBoolean: true;
|
|
679
|
-
};
|
|
680
|
-
readonly additionalWebviewBundleIds: {};
|
|
681
|
-
readonly webviewConnectTimeout: {
|
|
682
|
-
readonly isNumber: true;
|
|
683
|
-
};
|
|
684
|
-
readonly webviewAtomWaitTimeout: {
|
|
685
|
-
readonly isNumber: true;
|
|
686
|
-
};
|
|
687
|
-
readonly showIOSLog: {
|
|
688
|
-
readonly isBoolean: true;
|
|
689
|
-
};
|
|
690
|
-
readonly iosSimulatorLogsPredicate: {
|
|
691
|
-
readonly isString: true;
|
|
692
|
-
};
|
|
693
|
-
readonly iosSyslogFile: {
|
|
694
|
-
readonly isString: true;
|
|
695
|
-
};
|
|
696
|
-
readonly simulatorLogLevel: {
|
|
697
|
-
readonly isString: true;
|
|
698
|
-
};
|
|
699
|
-
readonly appPushTimeout: {
|
|
700
|
-
readonly isNumber: true;
|
|
701
|
-
};
|
|
702
|
-
readonly nativeWebTapStrict: {
|
|
703
|
-
readonly isBoolean: true;
|
|
704
|
-
};
|
|
705
|
-
readonly safariWebInspectorMaxFrameLength: {
|
|
706
|
-
readonly isNumber: true;
|
|
707
|
-
};
|
|
708
|
-
readonly allowProvisioningDeviceRegistration: {
|
|
709
|
-
readonly isBoolean: true;
|
|
710
|
-
};
|
|
711
|
-
readonly waitForIdleTimeout: {
|
|
712
|
-
readonly isNumber: true;
|
|
713
|
-
};
|
|
714
|
-
readonly resultBundlePath: {
|
|
715
|
-
readonly isString: true;
|
|
716
|
-
};
|
|
717
|
-
readonly resultBundleVersion: {
|
|
718
|
-
readonly isNumber: true;
|
|
719
|
-
};
|
|
720
|
-
readonly safariIgnoreWebHostnames: {
|
|
721
|
-
readonly isString: true;
|
|
722
|
-
};
|
|
723
|
-
readonly disableAutomaticScreenshots: {
|
|
724
|
-
readonly isBoolean: true;
|
|
725
|
-
};
|
|
726
|
-
readonly shouldTerminateApp: {
|
|
727
|
-
readonly isBoolean: true;
|
|
728
|
-
};
|
|
729
|
-
readonly forceAppLaunch: {
|
|
730
|
-
readonly isBoolean: true;
|
|
731
|
-
};
|
|
732
|
-
readonly useNativeCachingStrategy: {
|
|
733
|
-
readonly isBoolean: true;
|
|
734
|
-
};
|
|
735
|
-
readonly appInstallStrategy: {
|
|
736
|
-
readonly deprecated: true;
|
|
737
|
-
readonly isString: true;
|
|
738
|
-
readonly inclusionCaseInsensitive: readonly ["serial", "parallel", "ios-deploy"];
|
|
739
|
-
};
|
|
740
|
-
readonly enforceAppInstall: {
|
|
741
|
-
readonly isBoolean: true;
|
|
742
|
-
};
|
|
743
|
-
readonly skipTriggerInputEventAfterSendkeys: {
|
|
744
|
-
readonly isBoolean: true;
|
|
745
|
-
};
|
|
746
|
-
readonly sendKeyStrategy: {
|
|
747
|
-
readonly isString: true;
|
|
748
|
-
};
|
|
749
|
-
readonly skipSyncUiDialogTranslation: {
|
|
750
|
-
readonly isBoolean: true;
|
|
751
|
-
};
|
|
752
|
-
readonly forceSimulatorSoftwareKeyboardPresence: {
|
|
753
|
-
readonly isBoolean: true;
|
|
754
|
-
};
|
|
755
|
-
readonly appLaunchStateTimeoutSec: {
|
|
756
|
-
readonly isNumber: true;
|
|
757
|
-
};
|
|
758
|
-
readonly appTimeZone: {
|
|
759
|
-
readonly isString: true;
|
|
760
|
-
};
|
|
761
|
-
readonly pageLoadStrategy: {
|
|
762
|
-
readonly isString: true;
|
|
763
|
-
readonly inclusionCaseInsensitive: readonly ["none", "eager", "normal"];
|
|
764
|
-
};
|
|
765
|
-
}>, void, import("@appium/types").StringRecord> implements ExternalDriver<XCUITestDriverConstraints, FullContext | string> {
|
|
1
|
+
import { WebDriverAgent } from 'appium-webdriveragent';
|
|
2
|
+
import { BaseDriver } from 'appium/driver';
|
|
3
|
+
import { mjpeg } from 'appium/support';
|
|
4
|
+
import type { RouteMatcher, DefaultCreateSessionResult, DriverData, StringRecord, ExternalDriver, W3CDriverCaps, DriverCaps, DriverOpts } from '@appium/types';
|
|
5
|
+
import { LRUCache } from 'lru-cache';
|
|
6
|
+
import * as activeAppInfoCommands from './commands/active-app-info';
|
|
7
|
+
import * as alertCommands from './commands/alert';
|
|
8
|
+
import * as appManagementCommands from './commands/app-management';
|
|
9
|
+
import * as appearanceCommands from './commands/appearance';
|
|
10
|
+
import * as appStringsCommands from './commands/app-strings';
|
|
11
|
+
import * as auditCommands from './commands/audit';
|
|
12
|
+
import * as batteryCommands from './commands/battery';
|
|
13
|
+
import * as biometricCommands from './commands/biometric';
|
|
14
|
+
import * as certificateCommands from './commands/certificate';
|
|
15
|
+
import * as clipboardCommands from './commands/clipboard';
|
|
16
|
+
import * as conditionCommands from './commands/condition';
|
|
17
|
+
import * as contentSizeCommands from './commands/content-size';
|
|
18
|
+
import * as contextCommands from './commands/context';
|
|
19
|
+
import * as deviceInfoCommands from './commands/deviceInfo';
|
|
20
|
+
import * as elementCommands from './commands/element';
|
|
21
|
+
import * as executeCommands from './commands/execute';
|
|
22
|
+
import * as fileMovementCommands from './commands/file-movement';
|
|
23
|
+
import * as findCommands from './commands/find';
|
|
24
|
+
import * as generalCommands from './commands/general';
|
|
25
|
+
import * as geolocationCommands from './commands/geolocation';
|
|
26
|
+
import * as gestureCommands from './commands/gesture';
|
|
27
|
+
import * as iohidCommands from './commands/iohid';
|
|
28
|
+
import * as keychainsCommands from './commands/keychains';
|
|
29
|
+
import * as keyboardCommands from './commands/keyboard';
|
|
30
|
+
import * as localizationCommands from './commands/localization';
|
|
31
|
+
import * as locationCommands from './commands/location';
|
|
32
|
+
import * as lockCommands from './commands/lock';
|
|
33
|
+
import * as logCommands from './commands/log';
|
|
34
|
+
import * as memoryCommands from './commands/memory';
|
|
35
|
+
import * as navigationCommands from './commands/navigation';
|
|
36
|
+
import * as notificationsCommands from './commands/notifications';
|
|
37
|
+
import * as pasteboardCommands from './commands/pasteboard';
|
|
38
|
+
import * as pcapCommands from './commands/pcap';
|
|
39
|
+
import * as performanceCommands from './commands/performance';
|
|
40
|
+
import * as permissionsCommands from './commands/permissions';
|
|
41
|
+
import * as proxyHelperCommands from './commands/proxy-helper';
|
|
42
|
+
import * as recordAudioCommands from './commands/record-audio';
|
|
43
|
+
import * as recordScreenCommands from './commands/recordscreen';
|
|
44
|
+
import * as screenshotCommands from './commands/screenshots';
|
|
45
|
+
import * as sourceCommands from './commands/source';
|
|
46
|
+
import * as simctlCommands from './commands/simctl';
|
|
47
|
+
import * as timeoutCommands from './commands/timeouts';
|
|
48
|
+
import * as webCommands from './commands/web';
|
|
49
|
+
import * as xctestCommands from './commands/xctest';
|
|
50
|
+
import * as xctestRecordScreenCommands from './commands/xctest-record-screen';
|
|
51
|
+
import * as increaseContrastCommands from './commands/increase-contrast';
|
|
52
|
+
import { type XCUITestDriverConstraints } from './desired-caps';
|
|
53
|
+
import { RealDevice } from './device/real-device-management';
|
|
54
|
+
import { AppInfosCache } from './app-infos-cache';
|
|
55
|
+
import type { CalibrationData, AsyncPromise, LifecycleData } from './types';
|
|
56
|
+
import type { WaitingAtoms, LogListener, FullContext } from './commands/types';
|
|
57
|
+
import type { PerfRecorder } from './commands/performance';
|
|
58
|
+
import type { AudioRecorder } from './commands/record-audio';
|
|
59
|
+
import type { TrafficCapture } from './commands/pcap';
|
|
60
|
+
import type { ScreenRecorder } from './commands/recordscreen';
|
|
61
|
+
import type { DVTServiceWithConnection } from './commands/condition.js';
|
|
62
|
+
import type { IOSDeviceLog } from './device/log/ios-device-log';
|
|
63
|
+
import type { IOSSimulatorLog } from './device/log/ios-simulator-log';
|
|
64
|
+
import type { IOSCrashLog } from './device/log/ios-crash-log';
|
|
65
|
+
import type { SafariConsoleLog } from './device/log/safari-console-log';
|
|
66
|
+
import type { SafariNetworkLog } from './device/log/safari-network-log';
|
|
67
|
+
import type { IOSPerformanceLog } from './device/log/ios-performance-log';
|
|
68
|
+
import type { RemoteDebugger } from 'appium-remote-debugger';
|
|
69
|
+
import type { XcodeVersion } from 'appium-xcode';
|
|
70
|
+
import type { Simulator } from 'appium-ios-simulator';
|
|
71
|
+
export declare class XCUITestDriver extends BaseDriver<XCUITestDriverConstraints, StringRecord> implements ExternalDriver<XCUITestDriverConstraints, FullContext | string, StringRecord> {
|
|
766
72
|
static newMethodMap: {
|
|
767
73
|
readonly '/session/:sessionId/timeouts/async_script': {
|
|
768
74
|
readonly POST: {
|
|
@@ -1542,587 +848,89 @@ export class XCUITestDriver extends BaseDriver<{
|
|
|
1542
848
|
};
|
|
1543
849
|
};
|
|
1544
850
|
};
|
|
1545
|
-
/**
|
|
1546
|
-
*
|
|
1547
|
-
* @param {XCUITestDriverOpts} opts
|
|
1548
|
-
* @param {boolean} shouldValidateCaps
|
|
1549
|
-
*/
|
|
1550
|
-
constructor(opts?: XCUITestDriverOpts, shouldValidateCaps?: boolean);
|
|
1551
|
-
/** @type {string|null|undefined} */
|
|
1552
851
|
curWindowHandle: string | null | undefined;
|
|
1553
|
-
/**
|
|
1554
|
-
* @type {boolean|undefined}
|
|
1555
|
-
*/
|
|
1556
852
|
selectingNewPage: boolean | undefined;
|
|
1557
|
-
/** @type {string[]} */
|
|
1558
853
|
contexts: string[];
|
|
1559
|
-
/** @type {string|null} */
|
|
1560
854
|
curContext: string | null;
|
|
1561
|
-
/** @type {string[]} */
|
|
1562
855
|
curWebFrames: string[];
|
|
1563
|
-
|
|
1564
|
-
|
|
1565
|
-
/** @type {import('./types').AsyncPromise|undefined} */
|
|
1566
|
-
asyncPromise: import("./types").AsyncPromise | undefined;
|
|
1567
|
-
/** @type {number|undefined} */
|
|
856
|
+
webviewCalibrationResult: CalibrationData | null;
|
|
857
|
+
asyncPromise: AsyncPromise | undefined;
|
|
1568
858
|
asyncWaitMs: number | undefined;
|
|
1569
|
-
/** @type {((logRecord: {message: string}) => void)|null} */
|
|
1570
859
|
_syslogWebsocketListener: ((logRecord: {
|
|
1571
860
|
message: string;
|
|
1572
861
|
}) => void) | null;
|
|
1573
|
-
|
|
1574
|
-
|
|
1575
|
-
/** @type {LRUCache} */
|
|
1576
|
-
webElementsCache: LRUCache<any, any, any>;
|
|
1577
|
-
/**
|
|
1578
|
-
* @type {any|null}
|
|
1579
|
-
* @privateRemarks needs types
|
|
1580
|
-
**/
|
|
862
|
+
_perfRecorders: PerfRecorder[];
|
|
863
|
+
webElementsCache: LRUCache<any, any>;
|
|
1581
864
|
_conditionInducerService: any | null;
|
|
1582
|
-
|
|
1583
|
-
* @type {import('./commands/condition.js').DVTServiceWithConnection|null}
|
|
1584
|
-
* @privateRemarks RemoteXPC DVT connection for iOS>=18 condition inducer
|
|
1585
|
-
**/
|
|
1586
|
-
_remoteXPCConditionInducerConnection: import("./commands/condition.js").DVTServiceWithConnection | null;
|
|
1587
|
-
/** @type {boolean|undefined} */
|
|
865
|
+
_remoteXPCConditionInducerConnection: DVTServiceWithConnection | null;
|
|
1588
866
|
_isSafariIphone: boolean | undefined;
|
|
1589
|
-
/** @type {boolean|undefined} */
|
|
1590
867
|
_isSafariNotched: boolean | undefined;
|
|
1591
|
-
|
|
1592
|
-
|
|
1593
|
-
|
|
1594
|
-
lifecycleData: import("./types").LifecycleData;
|
|
1595
|
-
/** @type {import('./commands/record-audio').AudioRecorder|null} */
|
|
1596
|
-
_audioRecorder: import("./commands/record-audio").AudioRecorder | null;
|
|
1597
|
-
/** @type {XcodeVersion|undefined} */
|
|
868
|
+
_waitingAtoms: WaitingAtoms;
|
|
869
|
+
lifecycleData: LifecycleData;
|
|
870
|
+
_audioRecorder: AudioRecorder | null;
|
|
1598
871
|
xcodeVersion: XcodeVersion | undefined;
|
|
1599
|
-
|
|
1600
|
-
|
|
1601
|
-
/** @type {import('./commands/recordscreen').ScreenRecorder|null} */
|
|
1602
|
-
_recentScreenRecorder: import("./commands/recordscreen").ScreenRecorder | null;
|
|
1603
|
-
/** @type {Simulator|RealDevice} */
|
|
872
|
+
_trafficCapture: TrafficCapture | null;
|
|
873
|
+
_recentScreenRecorder: ScreenRecorder | null;
|
|
1604
874
|
_device: Simulator | RealDevice;
|
|
1605
|
-
/** @type {string|null} */
|
|
1606
875
|
_iosSdkVersion: string | null;
|
|
1607
|
-
|
|
1608
|
-
|
|
1609
|
-
/** @type {import('appium-remote-debugger').RemoteDebugger|null} */
|
|
1610
|
-
remote: import("appium-remote-debugger").RemoteDebugger | null;
|
|
1611
|
-
/** @type {DriverLogs} */
|
|
876
|
+
_wda: WebDriverAgent | null;
|
|
877
|
+
remote: RemoteDebugger | null;
|
|
1612
878
|
logs: DriverLogs;
|
|
1613
|
-
|
|
1614
|
-
_bidiServerLogListener: import("./commands/types").LogListener | undefined;
|
|
1615
|
-
settings: DeviceSettings<{
|
|
1616
|
-
nativeWebTap: boolean;
|
|
1617
|
-
nativeWebTapStrict: boolean;
|
|
1618
|
-
useJSONSource: boolean;
|
|
1619
|
-
webScreenshotMode: string;
|
|
1620
|
-
shouldUseCompactResponses: boolean;
|
|
1621
|
-
elementResponseAttributes: string;
|
|
1622
|
-
mjpegServerScreenshotQuality: number;
|
|
1623
|
-
mjpegServerFramerate: number;
|
|
1624
|
-
screenshotQuality: number;
|
|
1625
|
-
mjpegScalingFactor: number;
|
|
1626
|
-
reduceMotion: null;
|
|
1627
|
-
pageSourceExcludedAttributes: string;
|
|
1628
|
-
}>;
|
|
879
|
+
_bidiServerLogListener: LogListener | undefined;
|
|
1629
880
|
appInfosCache: AppInfosCache;
|
|
1630
881
|
doesSupportBidi: boolean;
|
|
1631
|
-
|
|
1632
|
-
|
|
1633
|
-
|
|
1634
|
-
proxyReqRes: any;
|
|
1635
|
-
safari: boolean | undefined;
|
|
882
|
+
jwpProxyActive: boolean;
|
|
883
|
+
proxyReqRes: ((...args: any[]) => any) | null;
|
|
884
|
+
safari: boolean;
|
|
1636
885
|
cachedWdaStatus: any;
|
|
1637
|
-
_currentUrl:
|
|
1638
|
-
pageLoadMs: number
|
|
1639
|
-
landscapeWebCoordsOffset: number
|
|
1640
|
-
|
|
1641
|
-
|
|
1642
|
-
|
|
1643
|
-
|
|
1644
|
-
|
|
1645
|
-
|
|
1646
|
-
|
|
1647
|
-
|
|
1648
|
-
|
|
1649
|
-
|
|
1650
|
-
|
|
1651
|
-
|
|
886
|
+
_currentUrl: string | null;
|
|
887
|
+
pageLoadMs: number;
|
|
888
|
+
landscapeWebCoordsOffset: number;
|
|
889
|
+
mjpegStream?: mjpeg.MJpegStream;
|
|
890
|
+
constructor(opts: XCUITestDriverOpts, shouldValidateCaps?: boolean);
|
|
891
|
+
createSession(w3cCaps1: W3CXCUITestDriverCaps, w3cCaps2?: W3CXCUITestDriverCaps, w3cCaps3?: W3CXCUITestDriverCaps, driverData?: DriverData[]): Promise<DefaultCreateSessionResult<XCUITestDriverConstraints>>;
|
|
892
|
+
deleteSession(sessionId?: string): Promise<void>;
|
|
893
|
+
executeCommand(cmd: string, ...args: any[]): Promise<any>;
|
|
894
|
+
proxyActive(): boolean;
|
|
895
|
+
getProxyAvoidList(): RouteMatcher[];
|
|
896
|
+
canProxy(): boolean;
|
|
897
|
+
validateLocatorStrategy(strategy: string): void;
|
|
898
|
+
validateDesiredCaps(caps: any): caps is DriverCaps<XCUITestDriverConstraints>;
|
|
899
|
+
get wda(): WebDriverAgent;
|
|
900
|
+
get driverData(): Record<string, any>;
|
|
1652
901
|
get device(): Simulator | RealDevice;
|
|
902
|
+
isSafari(): boolean;
|
|
903
|
+
isRealDevice(): boolean;
|
|
904
|
+
isSimulator(): boolean;
|
|
1653
905
|
isXcodebuildNeeded(): boolean;
|
|
1654
|
-
|
|
1655
|
-
|
|
1656
|
-
|
|
1657
|
-
readonly isString: true;
|
|
1658
|
-
readonly inclusionCaseInsensitive: readonly ["iOS", "tvOS"];
|
|
1659
|
-
};
|
|
1660
|
-
readonly browserName: {
|
|
1661
|
-
readonly isString: true;
|
|
1662
|
-
};
|
|
1663
|
-
readonly app: {
|
|
1664
|
-
readonly isString: true;
|
|
1665
|
-
};
|
|
1666
|
-
readonly calendarFormat: {
|
|
1667
|
-
readonly isString: true;
|
|
1668
|
-
};
|
|
1669
|
-
readonly bundleId: {
|
|
1670
|
-
readonly isString: true;
|
|
1671
|
-
};
|
|
1672
|
-
readonly udid: {
|
|
1673
|
-
readonly isString: true;
|
|
1674
|
-
};
|
|
1675
|
-
readonly autoAcceptAlerts: {
|
|
1676
|
-
readonly isBoolean: true;
|
|
1677
|
-
};
|
|
1678
|
-
readonly autoDismissAlerts: {
|
|
1679
|
-
readonly isBoolean: true;
|
|
1680
|
-
};
|
|
1681
|
-
readonly nativeWebTap: {
|
|
1682
|
-
readonly isBoolean: true;
|
|
1683
|
-
};
|
|
1684
|
-
readonly safariInitialUrl: {
|
|
1685
|
-
readonly isString: true;
|
|
1686
|
-
};
|
|
1687
|
-
readonly initialDeeplinkUrl: {
|
|
1688
|
-
readonly isString: true;
|
|
1689
|
-
};
|
|
1690
|
-
readonly safariAllowPopups: {
|
|
1691
|
-
readonly isBoolean: true;
|
|
1692
|
-
};
|
|
1693
|
-
readonly safariIgnoreFraudWarning: {
|
|
1694
|
-
readonly isBoolean: true;
|
|
1695
|
-
};
|
|
1696
|
-
readonly safariOpenLinksInBackground: {
|
|
1697
|
-
readonly isBoolean: true;
|
|
1698
|
-
};
|
|
1699
|
-
readonly safariShowFullResponse: {
|
|
1700
|
-
readonly isBoolean: true;
|
|
1701
|
-
};
|
|
1702
|
-
readonly keepKeyChains: {
|
|
1703
|
-
readonly isBoolean: true;
|
|
1704
|
-
};
|
|
1705
|
-
readonly resetLocationService: {
|
|
1706
|
-
readonly isBoolean: true;
|
|
1707
|
-
};
|
|
1708
|
-
readonly localizableStringsDir: {
|
|
1709
|
-
readonly isString: true;
|
|
1710
|
-
};
|
|
1711
|
-
readonly processArguments: {};
|
|
1712
|
-
readonly webviewConnectRetries: {
|
|
1713
|
-
readonly isNumber: true;
|
|
1714
|
-
};
|
|
1715
|
-
readonly clearSystemFiles: {
|
|
1716
|
-
readonly isBoolean: true;
|
|
1717
|
-
};
|
|
1718
|
-
readonly customSSLCert: {
|
|
1719
|
-
readonly isString: true;
|
|
1720
|
-
};
|
|
1721
|
-
readonly remoteDebugProxy: {
|
|
1722
|
-
readonly isString: true;
|
|
1723
|
-
};
|
|
1724
|
-
readonly enablePerformanceLogging: {
|
|
1725
|
-
readonly isBoolean: true;
|
|
1726
|
-
};
|
|
1727
|
-
readonly enableAsyncExecuteFromHttps: {
|
|
1728
|
-
readonly isBoolean: true;
|
|
1729
|
-
};
|
|
1730
|
-
readonly fullContextList: {
|
|
1731
|
-
readonly isBoolean: true;
|
|
1732
|
-
};
|
|
1733
|
-
readonly ignoreAboutBlankUrl: {
|
|
1734
|
-
readonly isBoolean: true;
|
|
1735
|
-
};
|
|
1736
|
-
readonly skipLogCapture: {
|
|
1737
|
-
readonly isBoolean: true;
|
|
1738
|
-
};
|
|
1739
|
-
readonly deviceName: {
|
|
1740
|
-
readonly isString: true;
|
|
1741
|
-
};
|
|
1742
|
-
readonly showXcodeLog: {
|
|
1743
|
-
readonly isBoolean: true;
|
|
1744
|
-
};
|
|
1745
|
-
readonly wdaLocalPort: {
|
|
1746
|
-
readonly isNumber: true;
|
|
1747
|
-
};
|
|
1748
|
-
readonly wdaRemotePort: {
|
|
1749
|
-
readonly isNumber: true;
|
|
1750
|
-
};
|
|
1751
|
-
readonly wdaBindingIP: {
|
|
1752
|
-
readonly isString: true;
|
|
1753
|
-
};
|
|
1754
|
-
readonly wdaBaseUrl: {
|
|
1755
|
-
readonly isString: true;
|
|
1756
|
-
};
|
|
1757
|
-
readonly iosInstallPause: {
|
|
1758
|
-
readonly isNumber: true;
|
|
1759
|
-
};
|
|
1760
|
-
readonly xcodeConfigFile: {
|
|
1761
|
-
readonly isString: true;
|
|
1762
|
-
};
|
|
1763
|
-
readonly xcodeOrgId: {
|
|
1764
|
-
readonly isString: true;
|
|
1765
|
-
};
|
|
1766
|
-
readonly xcodeSigningId: {
|
|
1767
|
-
readonly isString: true;
|
|
1768
|
-
};
|
|
1769
|
-
readonly keychainPath: {
|
|
1770
|
-
readonly isString: true;
|
|
1771
|
-
};
|
|
1772
|
-
readonly keychainPassword: {
|
|
1773
|
-
readonly isString: true;
|
|
1774
|
-
};
|
|
1775
|
-
readonly bootstrapPath: {
|
|
1776
|
-
readonly isString: true;
|
|
1777
|
-
};
|
|
1778
|
-
readonly agentPath: {
|
|
1779
|
-
readonly isString: true;
|
|
1780
|
-
};
|
|
1781
|
-
readonly scaleFactor: {
|
|
1782
|
-
readonly isString: true;
|
|
1783
|
-
};
|
|
1784
|
-
readonly usePrebuiltWDA: {
|
|
1785
|
-
readonly isBoolean: true;
|
|
1786
|
-
};
|
|
1787
|
-
readonly prebuiltWDAPath: {
|
|
1788
|
-
readonly isString: true;
|
|
1789
|
-
};
|
|
1790
|
-
readonly usePreinstalledWDA: {
|
|
1791
|
-
readonly isBoolean: true;
|
|
1792
|
-
};
|
|
1793
|
-
readonly updatedWDABundleIdSuffix: {
|
|
1794
|
-
readonly isString: true;
|
|
1795
|
-
};
|
|
1796
|
-
readonly webDriverAgentUrl: {
|
|
1797
|
-
readonly isString: true;
|
|
1798
|
-
};
|
|
1799
|
-
readonly derivedDataPath: {
|
|
1800
|
-
readonly isString: true;
|
|
1801
|
-
};
|
|
1802
|
-
readonly launchWithIDB: {
|
|
1803
|
-
readonly isBoolean: true;
|
|
1804
|
-
readonly deprecated: true;
|
|
1805
|
-
};
|
|
1806
|
-
readonly useNewWDA: {
|
|
1807
|
-
readonly isBoolean: true;
|
|
1808
|
-
};
|
|
1809
|
-
readonly wdaLaunchTimeout: {
|
|
1810
|
-
readonly isNumber: true;
|
|
1811
|
-
};
|
|
1812
|
-
readonly wdaConnectionTimeout: {
|
|
1813
|
-
readonly isNumber: true;
|
|
1814
|
-
};
|
|
1815
|
-
readonly updatedWDABundleId: {
|
|
1816
|
-
readonly isString: true;
|
|
1817
|
-
};
|
|
1818
|
-
readonly resetOnSessionStartOnly: {
|
|
1819
|
-
readonly isBoolean: true;
|
|
1820
|
-
};
|
|
1821
|
-
readonly commandTimeouts: {};
|
|
1822
|
-
readonly wdaStartupRetries: {
|
|
1823
|
-
readonly isNumber: true;
|
|
1824
|
-
};
|
|
1825
|
-
readonly wdaStartupRetryInterval: {
|
|
1826
|
-
readonly isNumber: true;
|
|
1827
|
-
};
|
|
1828
|
-
readonly prebuildWDA: {
|
|
1829
|
-
readonly isBoolean: true;
|
|
1830
|
-
};
|
|
1831
|
-
readonly connectHardwareKeyboard: {
|
|
1832
|
-
readonly isBoolean: true;
|
|
1833
|
-
};
|
|
1834
|
-
readonly forceTurnOnSoftwareKeyboardSimulator: {
|
|
1835
|
-
readonly isBoolean: true;
|
|
1836
|
-
};
|
|
1837
|
-
readonly simulatorPasteboardAutomaticSync: {
|
|
1838
|
-
readonly isString: true;
|
|
1839
|
-
};
|
|
1840
|
-
readonly simulatorDevicesSetPath: {
|
|
1841
|
-
readonly isString: true;
|
|
1842
|
-
};
|
|
1843
|
-
readonly calendarAccessAuthorized: {
|
|
1844
|
-
readonly isBoolean: true;
|
|
1845
|
-
readonly deprecated: true;
|
|
1846
|
-
};
|
|
1847
|
-
readonly useSimpleBuildTest: {
|
|
1848
|
-
readonly isBoolean: true;
|
|
1849
|
-
readonly deprecated: true;
|
|
1850
|
-
};
|
|
1851
|
-
readonly waitForQuiescence: {
|
|
1852
|
-
readonly isBoolean: true;
|
|
1853
|
-
readonly deprecated: true;
|
|
1854
|
-
};
|
|
1855
|
-
readonly maxTypingFrequency: {
|
|
1856
|
-
readonly isNumber: true;
|
|
1857
|
-
};
|
|
1858
|
-
readonly nativeTyping: {
|
|
1859
|
-
readonly isBoolean: true;
|
|
1860
|
-
};
|
|
1861
|
-
readonly simpleIsVisibleCheck: {
|
|
1862
|
-
readonly isBoolean: true;
|
|
1863
|
-
};
|
|
1864
|
-
readonly shouldUseSingletonTestManager: {
|
|
1865
|
-
readonly isBoolean: true;
|
|
1866
|
-
};
|
|
1867
|
-
readonly isHeadless: {
|
|
1868
|
-
readonly isBoolean: true;
|
|
1869
|
-
};
|
|
1870
|
-
readonly useXctestrunFile: {
|
|
1871
|
-
readonly isBoolean: true;
|
|
1872
|
-
};
|
|
1873
|
-
readonly absoluteWebLocations: {
|
|
1874
|
-
readonly isBoolean: true;
|
|
1875
|
-
};
|
|
1876
|
-
readonly simulatorWindowCenter: {
|
|
1877
|
-
readonly isString: true;
|
|
1878
|
-
};
|
|
1879
|
-
readonly simulatorStartupTimeout: {
|
|
1880
|
-
readonly isNumber: true;
|
|
1881
|
-
};
|
|
1882
|
-
readonly simulatorTracePointer: {
|
|
1883
|
-
readonly isBoolean: true;
|
|
1884
|
-
};
|
|
1885
|
-
readonly useJSONSource: {
|
|
1886
|
-
readonly isBoolean: true;
|
|
1887
|
-
};
|
|
1888
|
-
readonly enforceFreshSimulatorCreation: {
|
|
1889
|
-
readonly isBoolean: true;
|
|
1890
|
-
};
|
|
1891
|
-
readonly shutdownOtherSimulators: {
|
|
1892
|
-
readonly isBoolean: true;
|
|
1893
|
-
};
|
|
1894
|
-
readonly keychainsExcludePatterns: {
|
|
1895
|
-
readonly isString: true;
|
|
1896
|
-
};
|
|
1897
|
-
readonly showSafariConsoleLog: {
|
|
1898
|
-
readonly isBoolean: true;
|
|
1899
|
-
};
|
|
1900
|
-
readonly showSafariNetworkLog: {
|
|
1901
|
-
readonly isBoolean: true;
|
|
1902
|
-
};
|
|
1903
|
-
readonly safariGarbageCollect: {
|
|
1904
|
-
readonly isBoolean: true;
|
|
1905
|
-
};
|
|
1906
|
-
readonly safariGlobalPreferences: {
|
|
1907
|
-
readonly isObject: true;
|
|
1908
|
-
};
|
|
1909
|
-
readonly safariLogAllCommunication: {
|
|
1910
|
-
readonly isBoolean: true;
|
|
1911
|
-
};
|
|
1912
|
-
readonly safariLogAllCommunicationHexDump: {
|
|
1913
|
-
readonly isBoolean: true;
|
|
1914
|
-
};
|
|
1915
|
-
readonly safariSocketChunkSize: {
|
|
1916
|
-
readonly isNumber: true;
|
|
1917
|
-
};
|
|
1918
|
-
readonly mjpegServerPort: {
|
|
1919
|
-
readonly isNumber: true;
|
|
1920
|
-
};
|
|
1921
|
-
readonly reduceMotion: {
|
|
1922
|
-
readonly isBoolean: true;
|
|
1923
|
-
};
|
|
1924
|
-
readonly reduceTransparency: {
|
|
1925
|
-
readonly isBoolean: true;
|
|
1926
|
-
};
|
|
1927
|
-
readonly autoFillPasswords: {
|
|
1928
|
-
readonly isBoolean: true;
|
|
1929
|
-
};
|
|
1930
|
-
readonly mjpegScreenshotUrl: {
|
|
1931
|
-
readonly isString: true;
|
|
1932
|
-
};
|
|
1933
|
-
readonly permissions: {
|
|
1934
|
-
readonly isString: true;
|
|
1935
|
-
};
|
|
1936
|
-
readonly screenshotQuality: {
|
|
1937
|
-
readonly isNumber: true;
|
|
1938
|
-
};
|
|
1939
|
-
readonly wdaEventloopIdleDelay: {
|
|
1940
|
-
readonly isNumber: true;
|
|
1941
|
-
};
|
|
1942
|
-
readonly otherApps: {
|
|
1943
|
-
readonly isString: true;
|
|
1944
|
-
};
|
|
1945
|
-
readonly includeSafariInWebviews: {
|
|
1946
|
-
readonly isBoolean: true;
|
|
1947
|
-
};
|
|
1948
|
-
readonly additionalWebviewBundleIds: {};
|
|
1949
|
-
readonly webviewConnectTimeout: {
|
|
1950
|
-
readonly isNumber: true;
|
|
1951
|
-
};
|
|
1952
|
-
readonly webviewAtomWaitTimeout: {
|
|
1953
|
-
readonly isNumber: true;
|
|
1954
|
-
};
|
|
1955
|
-
readonly showIOSLog: {
|
|
1956
|
-
readonly isBoolean: true;
|
|
1957
|
-
};
|
|
1958
|
-
readonly iosSimulatorLogsPredicate: {
|
|
1959
|
-
readonly isString: true;
|
|
1960
|
-
};
|
|
1961
|
-
readonly iosSyslogFile: {
|
|
1962
|
-
readonly isString: true;
|
|
1963
|
-
};
|
|
1964
|
-
readonly simulatorLogLevel: {
|
|
1965
|
-
readonly isString: true;
|
|
1966
|
-
};
|
|
1967
|
-
readonly appPushTimeout: {
|
|
1968
|
-
readonly isNumber: true;
|
|
1969
|
-
};
|
|
1970
|
-
readonly nativeWebTapStrict: {
|
|
1971
|
-
readonly isBoolean: true;
|
|
1972
|
-
};
|
|
1973
|
-
readonly safariWebInspectorMaxFrameLength: {
|
|
1974
|
-
readonly isNumber: true;
|
|
1975
|
-
};
|
|
1976
|
-
readonly allowProvisioningDeviceRegistration: {
|
|
1977
|
-
readonly isBoolean: true;
|
|
1978
|
-
};
|
|
1979
|
-
readonly waitForIdleTimeout: {
|
|
1980
|
-
readonly isNumber: true;
|
|
1981
|
-
};
|
|
1982
|
-
readonly resultBundlePath: {
|
|
1983
|
-
readonly isString: true;
|
|
1984
|
-
};
|
|
1985
|
-
readonly resultBundleVersion: {
|
|
1986
|
-
readonly isNumber: true;
|
|
1987
|
-
};
|
|
1988
|
-
readonly safariIgnoreWebHostnames: {
|
|
1989
|
-
readonly isString: true;
|
|
1990
|
-
};
|
|
1991
|
-
readonly disableAutomaticScreenshots: {
|
|
1992
|
-
readonly isBoolean: true;
|
|
1993
|
-
};
|
|
1994
|
-
readonly shouldTerminateApp: {
|
|
1995
|
-
readonly isBoolean: true;
|
|
1996
|
-
};
|
|
1997
|
-
readonly forceAppLaunch: {
|
|
1998
|
-
readonly isBoolean: true;
|
|
1999
|
-
};
|
|
2000
|
-
readonly useNativeCachingStrategy: {
|
|
2001
|
-
readonly isBoolean: true;
|
|
2002
|
-
};
|
|
2003
|
-
readonly appInstallStrategy: {
|
|
2004
|
-
readonly deprecated: true;
|
|
2005
|
-
readonly isString: true;
|
|
2006
|
-
readonly inclusionCaseInsensitive: readonly ["serial", "parallel", "ios-deploy"];
|
|
2007
|
-
};
|
|
2008
|
-
readonly enforceAppInstall: {
|
|
2009
|
-
readonly isBoolean: true;
|
|
2010
|
-
};
|
|
2011
|
-
readonly skipTriggerInputEventAfterSendkeys: {
|
|
2012
|
-
readonly isBoolean: true;
|
|
2013
|
-
};
|
|
2014
|
-
readonly sendKeyStrategy: {
|
|
2015
|
-
readonly isString: true;
|
|
2016
|
-
};
|
|
2017
|
-
readonly skipSyncUiDialogTranslation: {
|
|
2018
|
-
readonly isBoolean: true;
|
|
2019
|
-
};
|
|
2020
|
-
readonly forceSimulatorSoftwareKeyboardPresence: {
|
|
2021
|
-
readonly isBoolean: true;
|
|
2022
|
-
};
|
|
2023
|
-
readonly appLaunchStateTimeoutSec: {
|
|
2024
|
-
readonly isNumber: true;
|
|
2025
|
-
};
|
|
2026
|
-
readonly appTimeZone: {
|
|
2027
|
-
readonly isString: true;
|
|
2028
|
-
};
|
|
2029
|
-
readonly pageLoadStrategy: {
|
|
2030
|
-
readonly isString: true;
|
|
2031
|
-
readonly inclusionCaseInsensitive: readonly ["none", "eager", "normal"];
|
|
2032
|
-
};
|
|
2033
|
-
}>]>;
|
|
2034
|
-
/**
|
|
2035
|
-
* Handles MJPEG server-related capabilities
|
|
2036
|
-
* @returns {Promise<void>}
|
|
2037
|
-
*/
|
|
906
|
+
onSettingsUpdate(key: string, value: any): Promise<any>;
|
|
907
|
+
getStatus(): Promise<Record<string, any>>;
|
|
908
|
+
mergeCliArgsToOpts(): boolean;
|
|
2038
909
|
handleMjpegOptions(): Promise<void>;
|
|
2039
|
-
mjpegStream: mjpeg.MJpegStream | undefined;
|
|
2040
|
-
/**
|
|
2041
|
-
* Allocates and configures port forwarding for the MJPEG server
|
|
2042
|
-
* @returns {Promise<void>}
|
|
2043
|
-
* @throws {Error} If port forwarding fails and mjpegServerPort capability value is provided explicitly
|
|
2044
|
-
*/
|
|
2045
910
|
allocateMjpegServerPort(): Promise<void>;
|
|
2046
|
-
/**
|
|
2047
|
-
* Returns the default URL for Safari browser
|
|
2048
|
-
* @returns {string} The default URL
|
|
2049
|
-
*/
|
|
2050
911
|
getDefaultUrl(): string;
|
|
2051
912
|
start(): Promise<void>;
|
|
2052
|
-
/**
|
|
2053
|
-
* Start the simulator and initialize based on capabilities
|
|
2054
|
-
*/
|
|
2055
|
-
initSimulator(): Promise<void>;
|
|
2056
|
-
/**
|
|
2057
|
-
* Start WebDriverAgentRunner
|
|
2058
|
-
*/
|
|
2059
|
-
startWda(): Promise<any>;
|
|
2060
|
-
/**
|
|
2061
|
-
*
|
|
2062
|
-
* @param {boolean} [enforceSimulatorShutdown=false]
|
|
2063
|
-
*/
|
|
2064
913
|
runReset(enforceSimulatorShutdown?: boolean): Promise<void>;
|
|
2065
|
-
deleteSession(sessionId: any): Promise<void>;
|
|
2066
914
|
stop(): Promise<void>;
|
|
2067
|
-
|
|
2068
|
-
|
|
2069
|
-
* @param {string} cmd
|
|
2070
|
-
* @param {...any} args
|
|
2071
|
-
* @returns {Promise<any>}
|
|
2072
|
-
*/
|
|
2073
|
-
executeCommand(cmd: string, ...args: any[]): Promise<any>;
|
|
915
|
+
initSimulator(): Promise<void>;
|
|
916
|
+
startWda(): Promise<void>;
|
|
2074
917
|
configureApp(): Promise<void>;
|
|
2075
918
|
determineDevice(): Promise<{
|
|
2076
|
-
device:
|
|
919
|
+
device: Simulator | RealDevice;
|
|
2077
920
|
realDevice: boolean;
|
|
2078
|
-
udid:
|
|
921
|
+
udid: string;
|
|
2079
922
|
}>;
|
|
2080
923
|
startSim(): Promise<void>;
|
|
2081
|
-
createSim(): Promise<
|
|
2082
|
-
startWdaSession(bundleId
|
|
2083
|
-
proxyActive(): boolean;
|
|
2084
|
-
getProxyAvoidList(): import("@appium/types").RouteMatcher[];
|
|
2085
|
-
canProxy(): boolean;
|
|
2086
|
-
/**
|
|
2087
|
-
* @returns {boolean}
|
|
2088
|
-
*/
|
|
2089
|
-
isSafari(): boolean;
|
|
2090
|
-
/**
|
|
2091
|
-
* @returns {boolean}
|
|
2092
|
-
*/
|
|
2093
|
-
isRealDevice(): boolean;
|
|
2094
|
-
/**
|
|
2095
|
-
* @returns {boolean}
|
|
2096
|
-
*/
|
|
2097
|
-
isSimulator(): boolean;
|
|
2098
|
-
/**
|
|
2099
|
-
* @param {string} strategy
|
|
2100
|
-
*/
|
|
2101
|
-
validateLocatorStrategy(strategy: string): void;
|
|
2102
|
-
/**
|
|
2103
|
-
* Check if the given app can be installed, or should uninstall before installing it.
|
|
2104
|
-
*
|
|
2105
|
-
* @param {AutInstallationStateOptions} [opts]
|
|
2106
|
-
* @returns {Promise<AutInstallationState>}
|
|
2107
|
-
*/
|
|
924
|
+
createSim(): Promise<Simulator>;
|
|
925
|
+
startWdaSession(bundleId?: string, processArguments?: any): Promise<void>;
|
|
2108
926
|
checkAutInstallationState(opts?: AutInstallationStateOptions): Promise<AutInstallationState>;
|
|
2109
927
|
installAUT(): Promise<void>;
|
|
2110
|
-
/**
|
|
2111
|
-
* @param {string|string[]} otherApps
|
|
2112
|
-
* @returns {Promise<void>}
|
|
2113
|
-
*/
|
|
2114
928
|
installOtherApps(otherApps: string | string[]): Promise<void>;
|
|
2115
|
-
/**
|
|
2116
|
-
* @param {string} orientation
|
|
2117
|
-
* @returns {Promise<void>}
|
|
2118
|
-
*/
|
|
2119
929
|
setInitialOrientation(orientation: string): Promise<void>;
|
|
2120
|
-
|
|
2121
|
-
* @param {string} [cmdName]
|
|
2122
|
-
* @returns {number|undefined}
|
|
2123
|
-
*/
|
|
2124
|
-
_getCommandTimeout(cmdName?: string): number | undefined;
|
|
930
|
+
reset(): Promise<never>;
|
|
2125
931
|
preparePreinstalledWda(): Promise<void>;
|
|
932
|
+
resetIos(): void;
|
|
933
|
+
_getCommandTimeout(cmdName?: string): number | undefined;
|
|
2126
934
|
mobileGetActiveAppInfo: typeof activeAppInfoCommands.mobileGetActiveAppInfo;
|
|
2127
935
|
getAlertText: typeof alertCommands.getAlertText;
|
|
2128
936
|
setAlertText: typeof alertCommands.setAlertText;
|
|
@@ -2356,82 +1164,18 @@ export class XCUITestDriver extends BaseDriver<{
|
|
|
2356
1164
|
mobileStopXctestScreenRecording: typeof xctestRecordScreenCommands.mobileStopXctestScreenRecording;
|
|
2357
1165
|
}
|
|
2358
1166
|
export default XCUITestDriver;
|
|
2359
|
-
export type
|
|
2360
|
-
export
|
|
2361
|
-
export type AutInstallationState = {
|
|
2362
|
-
/**
|
|
2363
|
-
* - If the given app should install, or not need to install.
|
|
2364
|
-
*/
|
|
1167
|
+
export type AutInstallationStateOptions = Pick<XCUITestDriverOpts, 'enforceAppInstall' | 'fullReset' | 'noReset' | 'bundleId' | 'app'>;
|
|
1168
|
+
export interface AutInstallationState {
|
|
2365
1169
|
install: boolean;
|
|
2366
|
-
/**
|
|
2367
|
-
* - If the installed app should be uninstalled, or not.
|
|
2368
|
-
*/
|
|
2369
1170
|
skipUninstall: boolean;
|
|
2370
|
-
}
|
|
2371
|
-
export type
|
|
2372
|
-
export type
|
|
2373
|
-
export
|
|
2374
|
-
|
|
2375
|
-
|
|
2376
|
-
|
|
2377
|
-
|
|
2378
|
-
|
|
2379
|
-
|
|
2380
|
-
safariNetwork?: import("./device-log/safari-network-log").SafariNetworkLog | undefined;
|
|
2381
|
-
performance?: import("./device-log/ios-performance-log").IOSPerformanceLog | undefined;
|
|
2382
|
-
};
|
|
2383
|
-
import { BaseDriver } from 'appium/driver';
|
|
2384
|
-
import { LRUCache } from 'lru-cache';
|
|
2385
|
-
import { RealDevice } from './real-device';
|
|
2386
|
-
import { WebDriverAgent } from 'appium-webdriveragent';
|
|
2387
|
-
import { DeviceSettings } from 'appium/driver';
|
|
2388
|
-
import { AppInfosCache } from './app-infos-cache';
|
|
2389
|
-
import { mjpeg } from 'appium/support';
|
|
2390
|
-
import * as activeAppInfoCommands from './commands/active-app-info';
|
|
2391
|
-
import * as alertCommands from './commands/alert';
|
|
2392
|
-
import * as appManagementCommands from './commands/app-management';
|
|
2393
|
-
import * as appearanceCommands from './commands/appearance';
|
|
2394
|
-
import * as increaseContrastCommands from './commands/increase-contrast';
|
|
2395
|
-
import * as contentSizeCommands from './commands/content-size';
|
|
2396
|
-
import * as auditCommands from './commands/audit';
|
|
2397
|
-
import * as batteryCommands from './commands/battery';
|
|
2398
|
-
import * as biometricCommands from './commands/biometric';
|
|
2399
|
-
import * as certificateCommands from './commands/certificate';
|
|
2400
|
-
import * as clipboardCommands from './commands/clipboard';
|
|
2401
|
-
import * as conditionCommands from './commands/condition';
|
|
2402
|
-
import * as contextCommands from './commands/context';
|
|
2403
|
-
import * as deviceInfoCommands from './commands/deviceInfo';
|
|
2404
|
-
import * as elementCommands from './commands/element';
|
|
2405
|
-
import * as executeCommands from './commands/execute';
|
|
2406
|
-
import * as simctlCommands from './commands/simctl';
|
|
2407
|
-
import * as fileMovementCommands from './commands/file-movement';
|
|
2408
|
-
import * as memoryCommands from './commands/memory';
|
|
2409
|
-
import * as findCommands from './commands/find';
|
|
2410
|
-
import * as generalCommands from './commands/general';
|
|
2411
|
-
import * as appStringsCommands from './commands/app-strings';
|
|
2412
|
-
import * as geolocationCommands from './commands/geolocation';
|
|
2413
|
-
import * as gestureCommands from './commands/gesture';
|
|
2414
|
-
import * as iohidCommands from './commands/iohid';
|
|
2415
|
-
import * as keychainsCommands from './commands/keychains';
|
|
2416
|
-
import * as keyboardCommands from './commands/keyboard';
|
|
2417
|
-
import * as localizationCommands from './commands/localization';
|
|
2418
|
-
import * as locationCommands from './commands/location';
|
|
2419
|
-
import * as lockCommands from './commands/lock';
|
|
2420
|
-
import * as logCommands from './commands/log';
|
|
2421
|
-
import * as navigationCommands from './commands/navigation';
|
|
2422
|
-
import * as notificationsCommands from './commands/notifications';
|
|
2423
|
-
import * as pasteboardCommands from './commands/pasteboard';
|
|
2424
|
-
import * as pcapCommands from './commands/pcap';
|
|
2425
|
-
import * as performanceCommands from './commands/performance';
|
|
2426
|
-
import * as permissionsCommands from './commands/permissions';
|
|
2427
|
-
import * as proxyHelperCommands from './commands/proxy-helper';
|
|
2428
|
-
import * as recordAudioCommands from './commands/record-audio';
|
|
2429
|
-
import * as recordScreenCommands from './commands/recordscreen';
|
|
2430
|
-
import * as screenshotCommands from './commands/screenshots';
|
|
2431
|
-
import * as sourceCommands from './commands/source';
|
|
2432
|
-
import * as timeoutCommands from './commands/timeouts';
|
|
2433
|
-
import * as webCommands from './commands/web';
|
|
2434
|
-
import * as xctestCommands from './commands/xctest';
|
|
2435
|
-
import * as xctestRecordScreenCommands from './commands/xctest-record-screen';
|
|
2436
|
-
import { desiredCapConstraints } from './desired-caps';
|
|
1171
|
+
}
|
|
1172
|
+
export type XCUITestDriverOpts = DriverOpts<XCUITestDriverConstraints>;
|
|
1173
|
+
export type W3CXCUITestDriverCaps = W3CDriverCaps<XCUITestDriverConstraints>;
|
|
1174
|
+
export interface DriverLogs {
|
|
1175
|
+
syslog?: IOSDeviceLog | IOSSimulatorLog;
|
|
1176
|
+
crashlog?: IOSCrashLog;
|
|
1177
|
+
safariConsole?: SafariConsoleLog;
|
|
1178
|
+
safariNetwork?: SafariNetworkLog;
|
|
1179
|
+
performance?: IOSPerformanceLog;
|
|
1180
|
+
}
|
|
2437
1181
|
//# sourceMappingURL=driver.d.ts.map
|