appium-xcuitest-driver 10.3.0 → 10.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +12 -0
- package/build/lib/commands/active-app-info.d.ts +9 -0
- package/build/lib/commands/active-app-info.d.ts.map +1 -0
- package/build/lib/commands/active-app-info.js +14 -0
- package/build/lib/commands/active-app-info.js.map +1 -0
- package/build/lib/commands/alert.d.ts +42 -45
- package/build/lib/commands/alert.d.ts.map +1 -1
- package/build/lib/commands/alert.js +66 -62
- package/build/lib/commands/alert.js.map +1 -1
- package/build/lib/commands/app-management.d.ts +150 -153
- package/build/lib/commands/app-management.d.ts.map +1 -1
- package/build/lib/commands/app-management.js +300 -286
- package/build/lib/commands/app-management.js.map +1 -1
- package/build/lib/commands/app-strings.d.ts +14 -17
- package/build/lib/commands/app-strings.d.ts.map +1 -1
- package/build/lib/commands/app-strings.js +23 -24
- package/build/lib/commands/app-strings.js.map +1 -1
- package/build/lib/commands/appearance.d.ts +19 -22
- package/build/lib/commands/appearance.d.ts.map +1 -1
- package/build/lib/commands/appearance.js +56 -56
- package/build/lib/commands/appearance.js.map +1 -1
- package/build/lib/commands/audit.d.ts +22 -17
- package/build/lib/commands/audit.d.ts.map +1 -1
- package/build/lib/commands/audit.js +17 -18
- package/build/lib/commands/audit.js.map +1 -1
- package/build/lib/commands/battery.d.ts +11 -14
- package/build/lib/commands/battery.d.ts.map +1 -1
- package/build/lib/commands/battery.js +36 -37
- package/build/lib/commands/battery.js.map +1 -1
- package/build/lib/commands/biometric.d.ts +30 -33
- package/build/lib/commands/biometric.d.ts.map +1 -1
- package/build/lib/commands/biometric.js +42 -41
- package/build/lib/commands/biometric.js.map +1 -1
- package/build/lib/commands/certificate.d.ts +48 -45
- package/build/lib/commands/certificate.d.ts.map +1 -1
- package/build/lib/commands/certificate.js +218 -205
- package/build/lib/commands/certificate.js.map +1 -1
- package/build/lib/commands/clipboard.d.ts +19 -22
- package/build/lib/commands/clipboard.d.ts.map +1 -1
- package/build/lib/commands/clipboard.js +30 -30
- package/build/lib/commands/clipboard.js.map +1 -1
- package/build/lib/commands/condition.d.ts +49 -26
- package/build/lib/commands/condition.d.ts.map +1 -1
- package/build/lib/commands/condition.js +87 -86
- package/build/lib/commands/condition.js.map +1 -1
- package/build/lib/commands/content-size.d.ts +26 -29
- package/build/lib/commands/content-size.d.ts.map +1 -1
- package/build/lib/commands/content-size.js +36 -36
- package/build/lib/commands/content-size.js.map +1 -1
- package/build/lib/commands/context.d.ts +161 -108
- package/build/lib/commands/context.d.ts.map +1 -1
- package/build/lib/commands/context.js +530 -517
- package/build/lib/commands/context.js.map +1 -1
- package/build/lib/commands/deviceInfo.d.ts +9 -12
- package/build/lib/commands/deviceInfo.d.ts.map +1 -1
- package/build/lib/commands/deviceInfo.js +17 -18
- package/build/lib/commands/deviceInfo.js.map +1 -1
- package/build/lib/commands/element.d.ts +102 -105
- package/build/lib/commands/element.d.ts.map +1 -1
- package/build/lib/commands/element.js +337 -323
- package/build/lib/commands/element.js.map +1 -1
- package/build/lib/commands/execute.d.ts +24 -19
- package/build/lib/commands/execute.d.ts.map +1 -1
- package/build/lib/commands/execute.js +63 -62
- package/build/lib/commands/execute.js.map +1 -1
- package/build/lib/commands/file-movement.d.ts +77 -80
- package/build/lib/commands/file-movement.d.ts.map +1 -1
- package/build/lib/commands/file-movement.js +130 -124
- package/build/lib/commands/file-movement.js.map +1 -1
- package/build/lib/commands/find.d.ts +18 -21
- package/build/lib/commands/find.d.ts.map +1 -1
- package/build/lib/commands/find.js +158 -156
- package/build/lib/commands/find.js.map +1 -1
- package/build/lib/commands/general.d.ts +124 -116
- package/build/lib/commands/general.d.ts.map +1 -1
- package/build/lib/commands/general.js +248 -232
- package/build/lib/commands/general.js.map +1 -1
- package/build/lib/commands/geolocation.d.ts +43 -46
- package/build/lib/commands/geolocation.d.ts.map +1 -1
- package/build/lib/commands/geolocation.js +10 -11
- package/build/lib/commands/geolocation.js.map +1 -1
- package/build/lib/commands/gesture.d.ts +273 -276
- package/build/lib/commands/gesture.d.ts.map +1 -1
- package/build/lib/commands/gesture.js +506 -492
- package/build/lib/commands/gesture.js.map +1 -1
- package/build/lib/commands/increase-contrast.d.ts +20 -23
- package/build/lib/commands/increase-contrast.d.ts.map +1 -1
- package/build/lib/commands/increase-contrast.js +30 -30
- package/build/lib/commands/increase-contrast.js.map +1 -1
- package/build/lib/commands/iohid.d.ts +1370 -1373
- package/build/lib/commands/iohid.d.ts.map +1 -1
- package/build/lib/commands/iohid.js +30 -31
- package/build/lib/commands/iohid.js.map +1 -1
- package/build/lib/commands/keyboard.d.ts +29 -32
- package/build/lib/commands/keyboard.d.ts.map +1 -1
- package/build/lib/commands/keyboard.js +53 -51
- package/build/lib/commands/keyboard.js.map +1 -1
- package/build/lib/commands/keychains.d.ts +9 -12
- package/build/lib/commands/keychains.d.ts.map +1 -1
- package/build/lib/commands/keychains.js +13 -14
- package/build/lib/commands/keychains.js.map +1 -1
- package/build/lib/commands/localization.d.ts +16 -19
- package/build/lib/commands/localization.d.ts.map +1 -1
- package/build/lib/commands/localization.js +25 -26
- package/build/lib/commands/localization.js.map +1 -1
- package/build/lib/commands/location.d.ts +36 -39
- package/build/lib/commands/location.d.ts.map +1 -1
- package/build/lib/commands/location.js +99 -98
- package/build/lib/commands/location.js.map +1 -1
- package/build/lib/commands/lock.d.ts +21 -24
- package/build/lib/commands/lock.d.ts.map +1 -1
- package/build/lib/commands/lock.js +39 -38
- package/build/lib/commands/lock.js.map +1 -1
- package/build/lib/commands/log.d.ts +43 -37
- package/build/lib/commands/log.d.ts.map +1 -1
- package/build/lib/commands/log.js +174 -171
- package/build/lib/commands/log.js.map +1 -1
- package/build/lib/commands/memory.d.ts +9 -12
- package/build/lib/commands/memory.d.ts.map +1 -1
- package/build/lib/commands/memory.js +37 -38
- package/build/lib/commands/memory.js.map +1 -1
- package/build/lib/commands/navigation.d.ts +30 -33
- package/build/lib/commands/navigation.d.ts.map +1 -1
- package/build/lib/commands/navigation.js +92 -92
- package/build/lib/commands/navigation.js.map +1 -1
- package/build/lib/commands/notifications.d.ts +26 -29
- package/build/lib/commands/notifications.d.ts.map +1 -1
- package/build/lib/commands/notifications.js +53 -53
- package/build/lib/commands/notifications.js.map +1 -1
- package/build/lib/commands/pasteboard.d.ts +21 -24
- package/build/lib/commands/pasteboard.d.ts.map +1 -1
- package/build/lib/commands/pasteboard.js +37 -37
- package/build/lib/commands/pasteboard.js.map +1 -1
- package/build/lib/commands/pcap.d.ts +39 -26
- package/build/lib/commands/pcap.d.ts.map +1 -1
- package/build/lib/commands/pcap.js +81 -81
- package/build/lib/commands/pcap.js.map +1 -1
- package/build/lib/commands/performance.d.ts +63 -44
- package/build/lib/commands/performance.d.ts.map +1 -1
- package/build/lib/commands/performance.js +105 -105
- package/build/lib/commands/performance.js.map +1 -1
- package/build/lib/commands/permissions.d.ts +33 -36
- package/build/lib/commands/permissions.d.ts.map +1 -1
- package/build/lib/commands/permissions.js +66 -65
- package/build/lib/commands/permissions.js.map +1 -1
- package/build/lib/commands/proxy-helper.d.ts +12 -15
- package/build/lib/commands/proxy-helper.d.ts.map +1 -1
- package/build/lib/commands/proxy-helper.js +53 -54
- package/build/lib/commands/proxy-helper.js.map +1 -1
- package/build/lib/commands/record-audio.d.ts +49 -29
- package/build/lib/commands/record-audio.d.ts.map +1 -1
- package/build/lib/commands/record-audio.js +100 -104
- package/build/lib/commands/record-audio.js.map +1 -1
- package/build/lib/commands/recordscreen.d.ts +54 -18
- package/build/lib/commands/recordscreen.d.ts.map +1 -1
- package/build/lib/commands/recordscreen.js +127 -129
- package/build/lib/commands/recordscreen.js.map +1 -1
- package/build/lib/commands/screenshots.d.ts +14 -17
- package/build/lib/commands/screenshots.d.ts.map +1 -1
- package/build/lib/commands/screenshots.js +108 -107
- package/build/lib/commands/screenshots.js.map +1 -1
- package/build/lib/commands/simctl.d.ts +11 -14
- package/build/lib/commands/simctl.d.ts.map +1 -1
- package/build/lib/commands/simctl.js +23 -26
- package/build/lib/commands/simctl.js.map +1 -1
- package/build/lib/commands/source.d.ts +14 -17
- package/build/lib/commands/source.d.ts.map +1 -1
- package/build/lib/commands/source.js +40 -43
- package/build/lib/commands/source.js.map +1 -1
- package/build/lib/commands/timeouts.d.ts +44 -33
- package/build/lib/commands/timeouts.d.ts.map +1 -1
- package/build/lib/commands/timeouts.js +65 -63
- package/build/lib/commands/timeouts.js.map +1 -1
- package/build/lib/commands/web.d.ts +275 -197
- package/build/lib/commands/web.d.ts.map +1 -1
- package/build/lib/commands/web.js +866 -785
- package/build/lib/commands/web.js.map +1 -1
- package/build/lib/commands/xctest-record-screen.d.ts +63 -66
- package/build/lib/commands/xctest-record-screen.d.ts.map +1 -1
- package/build/lib/commands/xctest-record-screen.js +103 -102
- package/build/lib/commands/xctest-record-screen.js.map +1 -1
- package/build/lib/commands/xctest.d.ts +55 -51
- package/build/lib/commands/xctest.d.ts.map +1 -1
- package/build/lib/commands/xctest.js +116 -117
- package/build/lib/commands/xctest.js.map +1 -1
- package/build/lib/driver.d.ts +277 -1597
- package/build/lib/driver.d.ts.map +1 -1
- package/build/lib/driver.js +318 -235
- package/build/lib/driver.js.map +1 -1
- package/build/lib/execute-method-map.d.ts.map +1 -1
- package/build/lib/execute-method-map.js +9 -0
- package/build/lib/execute-method-map.js.map +1 -1
- package/lib/commands/active-app-info.js +12 -0
- package/lib/commands/alert.js +68 -65
- package/lib/commands/app-management.js +308 -301
- package/lib/commands/app-strings.js +24 -26
- package/lib/commands/appearance.js +54 -56
- package/lib/commands/audit.js +18 -20
- package/lib/commands/battery.js +35 -37
- package/lib/commands/biometric.js +44 -46
- package/lib/commands/certificate.js +226 -215
- package/lib/commands/clipboard.js +30 -32
- package/lib/commands/condition.js +98 -100
- package/lib/commands/content-size.js +36 -38
- package/lib/commands/context.js +495 -490
- package/lib/commands/deviceInfo.js +19 -20
- package/lib/commands/element.js +367 -357
- package/lib/commands/execute.js +72 -72
- package/lib/commands/file-movement.js +132 -134
- package/lib/commands/find.js +160 -159
- package/lib/commands/general.js +238 -231
- package/lib/commands/geolocation.js +6 -14
- package/lib/commands/gesture.js +525 -515
- package/lib/commands/increase-contrast.js +30 -32
- package/lib/commands/iohid.js +32 -34
- package/lib/commands/keyboard.js +49 -51
- package/lib/commands/keychains.js +12 -14
- package/lib/commands/localization.js +24 -26
- package/lib/commands/location.js +102 -104
- package/lib/commands/lock.js +38 -38
- package/lib/commands/log.js +197 -198
- package/lib/commands/memory.js +40 -42
- package/lib/commands/navigation.js +96 -100
- package/lib/commands/notifications.js +57 -59
- package/lib/commands/pasteboard.js +37 -39
- package/lib/commands/pcap.js +84 -86
- package/lib/commands/performance.js +132 -133
- package/lib/commands/permissions.js +67 -69
- package/lib/commands/proxy-helper.js +60 -61
- package/lib/commands/record-audio.js +115 -120
- package/lib/commands/recordscreen.js +145 -149
- package/lib/commands/screenshots.js +116 -116
- package/lib/commands/simctl.js +25 -29
- package/lib/commands/source.js +42 -46
- package/lib/commands/timeouts.js +59 -63
- package/lib/commands/web.js +932 -859
- package/lib/commands/xctest-record-screen.js +103 -105
- package/lib/commands/xctest.js +134 -139
- package/lib/driver.js +286 -235
- package/lib/execute-method-map.ts +9 -0
- package/npm-shrinkwrap.json +8 -8
- package/package.json +1 -1
- package/build/lib/commands/activeAppInfo.d.ts +0 -12
- package/build/lib/commands/activeAppInfo.d.ts.map +0 -1
- package/build/lib/commands/activeAppInfo.js +0 -15
- package/build/lib/commands/activeAppInfo.js.map +0 -1
- package/build/lib/commands/index.d.ts +0 -96
- package/build/lib/commands/index.d.ts.map +0 -1
- package/build/lib/commands/index.js +0 -100
- package/build/lib/commands/index.js.map +0 -1
- package/build/lib/cookies.d.ts +0 -15
- package/build/lib/cookies.d.ts.map +0 -1
- package/build/lib/cookies.js +0 -84
- package/build/lib/cookies.js.map +0 -1
- package/lib/commands/activeAppInfo.js +0 -14
- package/lib/commands/index.js +0 -95
- package/lib/cookies.js +0 -92
|
@@ -215,6 +215,7 @@ export const executeMethodMap = {
|
|
|
215
215
|
command: 'getViewportRect',
|
|
216
216
|
},
|
|
217
217
|
'mobile: startPerfRecord': {
|
|
218
|
+
// @ts-expect-error Class field assignment - method exists on XCUITestDriver
|
|
218
219
|
command: 'mobileStartPerfRecord',
|
|
219
220
|
params: {
|
|
220
221
|
optional: ['timeout', 'profileName', 'pid'],
|
|
@@ -252,6 +253,7 @@ export const executeMethodMap = {
|
|
|
252
253
|
command: 'mobileListCertificates',
|
|
253
254
|
},
|
|
254
255
|
'mobile: startLogsBroadcast': {
|
|
256
|
+
// @ts-expect-error Class field assignment - method exists on XCUITestDriver
|
|
255
257
|
command: 'mobileStartLogsBroadcast',
|
|
256
258
|
},
|
|
257
259
|
'mobile: stopLogsBroadcast': {
|
|
@@ -466,24 +468,28 @@ export const executeMethodMap = {
|
|
|
466
468
|
command: 'mobileResetLocationService',
|
|
467
469
|
},
|
|
468
470
|
'mobile: startPcap': {
|
|
471
|
+
// @ts-expect-error Class field assignment - method exists on XCUITestDriver
|
|
469
472
|
command: 'mobileStartPcap',
|
|
470
473
|
params: {
|
|
471
474
|
optional: ['timeLimitSec', 'forceRestart'],
|
|
472
475
|
},
|
|
473
476
|
},
|
|
474
477
|
'mobile: stopPcap': {
|
|
478
|
+
// @ts-expect-error Class field assignment - method exists on XCUITestDriver
|
|
475
479
|
command: 'mobileStopPcap',
|
|
476
480
|
},
|
|
477
481
|
'mobile: listConditionInducers': {
|
|
478
482
|
command: 'listConditionInducers',
|
|
479
483
|
},
|
|
480
484
|
'mobile: enableConditionInducer': {
|
|
485
|
+
// @ts-expect-error Class field assignment - method exists on XCUITestDriver
|
|
481
486
|
command: 'enableConditionInducer',
|
|
482
487
|
params: {
|
|
483
488
|
required: ['conditionID', 'profileID'],
|
|
484
489
|
},
|
|
485
490
|
},
|
|
486
491
|
'mobile: disableConditionInducer': {
|
|
492
|
+
// @ts-expect-error Class field assignment - method exists on XCUITestDriver
|
|
487
493
|
command: 'disableConditionInducer',
|
|
488
494
|
},
|
|
489
495
|
'mobile: updateSafariPreferences': {
|
|
@@ -493,6 +499,7 @@ export const executeMethodMap = {
|
|
|
493
499
|
},
|
|
494
500
|
},
|
|
495
501
|
'mobile: calibrateWebToRealCoordinatesTranslation': {
|
|
502
|
+
// @ts-expect-error Class field assignment - method exists on XCUITestDriver
|
|
496
503
|
command: 'mobileCalibrateWebToRealCoordinatesTranslation',
|
|
497
504
|
},
|
|
498
505
|
'mobile: keys': {
|
|
@@ -525,6 +532,7 @@ export const executeMethodMap = {
|
|
|
525
532
|
command: 'mobileShake',
|
|
526
533
|
},
|
|
527
534
|
'mobile: startAudioRecording': {
|
|
535
|
+
// @ts-expect-error Class field assignment - method exists on XCUITestDriver
|
|
528
536
|
command: 'startAudioRecording',
|
|
529
537
|
params: {
|
|
530
538
|
required: ['audioInput'],
|
|
@@ -539,6 +547,7 @@ export const executeMethodMap = {
|
|
|
539
547
|
},
|
|
540
548
|
},
|
|
541
549
|
'mobile: stopAudioRecording': {
|
|
550
|
+
// @ts-expect-error Class field assignment - method exists on XCUITestDriver
|
|
542
551
|
command: 'stopAudioRecording',
|
|
543
552
|
},
|
|
544
553
|
'mobile: hideKeyboard': {
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "appium-xcuitest-driver",
|
|
3
|
-
"version": "10.
|
|
3
|
+
"version": "10.4.1",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "appium-xcuitest-driver",
|
|
9
|
-
"version": "10.
|
|
9
|
+
"version": "10.4.1",
|
|
10
10
|
"license": "Apache-2.0",
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"@appium/strongbox": "^1.0.0-rc.1",
|
|
@@ -666,9 +666,9 @@
|
|
|
666
666
|
}
|
|
667
667
|
},
|
|
668
668
|
"node_modules/appium-ios-remotexpc": {
|
|
669
|
-
"version": "0.10.
|
|
670
|
-
"resolved": "https://registry.npmjs.org/appium-ios-remotexpc/-/appium-ios-remotexpc-0.10.
|
|
671
|
-
"integrity": "sha512-
|
|
669
|
+
"version": "0.10.1",
|
|
670
|
+
"resolved": "https://registry.npmjs.org/appium-ios-remotexpc/-/appium-ios-remotexpc-0.10.1.tgz",
|
|
671
|
+
"integrity": "sha512-SK1ttF2j/EuEqtJwMBxUYQIUyAqLJEDyZPrXW7t5EXsc0b88buCcBcakBvpl5gXf1SVnGmO3upQRwu2/blU6/g==",
|
|
672
672
|
"license": "Apache-2.0",
|
|
673
673
|
"optional": true,
|
|
674
674
|
"dependencies": {
|
|
@@ -2985,9 +2985,9 @@
|
|
|
2985
2985
|
}
|
|
2986
2986
|
},
|
|
2987
2987
|
"node_modules/node-devicectl": {
|
|
2988
|
-
"version": "1.0
|
|
2989
|
-
"resolved": "https://registry.npmjs.org/node-devicectl/-/node-devicectl-1.0.
|
|
2990
|
-
"integrity": "sha512-
|
|
2988
|
+
"version": "1.1.0",
|
|
2989
|
+
"resolved": "https://registry.npmjs.org/node-devicectl/-/node-devicectl-1.1.0.tgz",
|
|
2990
|
+
"integrity": "sha512-dK+ZNyPchi+hTUmSKJv1YlcJ9czzVNWFd+/mzCtmU/xzum2DWOmPI09hhNuAqF/ZUR83pjh4S8iLfzxYsVLb9g==",
|
|
2991
2991
|
"license": "Apache-2.0",
|
|
2992
2992
|
"dependencies": {
|
|
2993
2993
|
"@appium/logger": "^2.0.0-rc.1",
|
package/package.json
CHANGED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
declare namespace _default {
|
|
2
|
-
/**
|
|
3
|
-
* Returns information about the active application.
|
|
4
|
-
*
|
|
5
|
-
* @returns {Promise<import('./types').ActiveAppInfo>} Active app information
|
|
6
|
-
* @throws {Error} if an error raised by command
|
|
7
|
-
* @this {import('../driver').XCUITestDriver}
|
|
8
|
-
*/
|
|
9
|
-
function mobileGetActiveAppInfo(this: import("../driver").XCUITestDriver): Promise<import("./types").ActiveAppInfo>;
|
|
10
|
-
}
|
|
11
|
-
export default _default;
|
|
12
|
-
//# sourceMappingURL=activeAppInfo.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"activeAppInfo.d.ts","sourceRoot":"","sources":["../../../lib/commands/activeAppInfo.js"],"names":[],"mappings":";IACE;;;;;;OAMG;IACH,2EAJa,OAAO,CAAC,OAAO,SAAS,EAAE,aAAa,CAAC,CAQpD"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.default = {
|
|
4
|
-
/**
|
|
5
|
-
* Returns information about the active application.
|
|
6
|
-
*
|
|
7
|
-
* @returns {Promise<import('./types').ActiveAppInfo>} Active app information
|
|
8
|
-
* @throws {Error} if an error raised by command
|
|
9
|
-
* @this {import('../driver').XCUITestDriver}
|
|
10
|
-
*/
|
|
11
|
-
async mobileGetActiveAppInfo() {
|
|
12
|
-
return /** @type {import('./types').ActiveAppInfo} */ (await this.proxyCommand('/wda/activeAppInfo', 'GET'));
|
|
13
|
-
},
|
|
14
|
-
};
|
|
15
|
-
//# sourceMappingURL=activeAppInfo.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"activeAppInfo.js","sourceRoot":"","sources":["../../../lib/commands/activeAppInfo.js"],"names":[],"mappings":";;AAAA,kBAAe;IACb;;;;;;OAMG;IACH,KAAK,CAAC,sBAAsB;QAC1B,OAAO,8CAA8C,CAAC,CACpD,MAAM,IAAI,CAAC,YAAY,CAAC,oBAAoB,EAAE,KAAK,CAAC,CACrD,CAAC;IACJ,CAAC;CACF,CAAC"}
|
|
@@ -1,96 +0,0 @@
|
|
|
1
|
-
declare namespace _default {
|
|
2
|
-
export { activeAppInfoExtensions };
|
|
3
|
-
export { alertExtensions };
|
|
4
|
-
export { appearanceExtensions };
|
|
5
|
-
export { appManagementExtensions };
|
|
6
|
-
export { appStringsExtensions };
|
|
7
|
-
export { auditExtensions };
|
|
8
|
-
export { batteryExtensions };
|
|
9
|
-
export { biometricExtensions };
|
|
10
|
-
export { certificateExtensions };
|
|
11
|
-
export { clipboardExtensions };
|
|
12
|
-
export { conditionExtensions };
|
|
13
|
-
export { contentSizeExtensions };
|
|
14
|
-
export { contextExtensions };
|
|
15
|
-
export { deviceInfoExtensions };
|
|
16
|
-
export { elementExtensions };
|
|
17
|
-
export { executeExtensions };
|
|
18
|
-
export { fileMovementExtensions };
|
|
19
|
-
export { findExtensions };
|
|
20
|
-
export { generalExtensions };
|
|
21
|
-
export { geolocationExtensions };
|
|
22
|
-
export { gestureExtensions };
|
|
23
|
-
export { increaseContrastExtensions };
|
|
24
|
-
export { iohidExtensions };
|
|
25
|
-
export { keychainsExtensions };
|
|
26
|
-
export { keyboardExtensions };
|
|
27
|
-
export { localizationExtensions };
|
|
28
|
-
export { locationExtensions };
|
|
29
|
-
export { lockExtensions };
|
|
30
|
-
export { logExtensions };
|
|
31
|
-
export { memoryExtensions };
|
|
32
|
-
export { navigationExtensions };
|
|
33
|
-
export { notificationsExtensions };
|
|
34
|
-
export { pasteboardExtensions };
|
|
35
|
-
export { pcapExtensions };
|
|
36
|
-
export { performanceExtensions };
|
|
37
|
-
export { permissionsExtensions };
|
|
38
|
-
export { proxyHelperExtensions };
|
|
39
|
-
export { recordAudioExtensions };
|
|
40
|
-
export { recordScreenExtensions };
|
|
41
|
-
export { simctl };
|
|
42
|
-
export { screenshotExtensions };
|
|
43
|
-
export { sourceExtensions };
|
|
44
|
-
export { timeoutExtensions };
|
|
45
|
-
export { webExtensions };
|
|
46
|
-
export { xctestExtensions };
|
|
47
|
-
export { xctestRecordScreenExtensions };
|
|
48
|
-
}
|
|
49
|
-
export default _default;
|
|
50
|
-
import activeAppInfoExtensions from './activeAppInfo';
|
|
51
|
-
import alertExtensions from './alert';
|
|
52
|
-
import appearanceExtensions from './appearance';
|
|
53
|
-
import appManagementExtensions from './app-management';
|
|
54
|
-
import appStringsExtensions from './app-strings';
|
|
55
|
-
import auditExtensions from './audit';
|
|
56
|
-
import batteryExtensions from './battery';
|
|
57
|
-
import biometricExtensions from './biometric';
|
|
58
|
-
import certificateExtensions from './certificate';
|
|
59
|
-
import clipboardExtensions from './clipboard';
|
|
60
|
-
import conditionExtensions from './condition';
|
|
61
|
-
import contentSizeExtensions from './content-size';
|
|
62
|
-
import contextExtensions from './context';
|
|
63
|
-
import deviceInfoExtensions from './deviceInfo';
|
|
64
|
-
import elementExtensions from './element';
|
|
65
|
-
import executeExtensions from './execute';
|
|
66
|
-
import fileMovementExtensions from './file-movement';
|
|
67
|
-
import findExtensions from './find';
|
|
68
|
-
import generalExtensions from './general';
|
|
69
|
-
import geolocationExtensions from './geolocation';
|
|
70
|
-
import gestureExtensions from './gesture';
|
|
71
|
-
import increaseContrastExtensions from './increase-contrast';
|
|
72
|
-
import iohidExtensions from './iohid';
|
|
73
|
-
import keychainsExtensions from './keychains';
|
|
74
|
-
import keyboardExtensions from './keyboard';
|
|
75
|
-
import localizationExtensions from './localization';
|
|
76
|
-
import locationExtensions from './location';
|
|
77
|
-
import lockExtensions from './lock';
|
|
78
|
-
import logExtensions from './log';
|
|
79
|
-
import memoryExtensions from './memory';
|
|
80
|
-
import navigationExtensions from './navigation';
|
|
81
|
-
import notificationsExtensions from './notifications';
|
|
82
|
-
import pasteboardExtensions from './pasteboard';
|
|
83
|
-
import pcapExtensions from './pcap';
|
|
84
|
-
import performanceExtensions from './performance';
|
|
85
|
-
import permissionsExtensions from './permissions';
|
|
86
|
-
import proxyHelperExtensions from './proxy-helper';
|
|
87
|
-
import recordAudioExtensions from './record-audio';
|
|
88
|
-
import recordScreenExtensions from './recordscreen';
|
|
89
|
-
import simctl from './simctl';
|
|
90
|
-
import screenshotExtensions from './screenshots';
|
|
91
|
-
import sourceExtensions from './source';
|
|
92
|
-
import timeoutExtensions from './timeouts';
|
|
93
|
-
import webExtensions from './web';
|
|
94
|
-
import xctestExtensions from './xctest';
|
|
95
|
-
import xctestRecordScreenExtensions from './xctest-record-screen';
|
|
96
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../lib/commands/index.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oCAAoC,iBAAiB;4BACzB,SAAS;iCAEJ,cAAc;oCADX,kBAAkB;iCAErB,eAAe;4BACpB,SAAS;8BACP,WAAW;gCACT,aAAa;kCACX,eAAe;gCACjB,aAAa;gCACb,aAAa;kCACX,gBAAgB;8BACpB,WAAW;iCACR,cAAc;8BACjB,WAAW;8BACX,WAAW;mCACN,iBAAiB;2BACzB,QAAQ;8BACL,WAAW;kCACP,eAAe;8BACnB,WAAW;uCACF,qBAAqB;4BAChC,SAAS;gCACL,aAAa;+BACd,YAAY;mCACR,gBAAgB;+BACpB,YAAY;2BAChB,QAAQ;0BACT,OAAO;6BACJ,UAAU;iCACN,cAAc;oCACX,iBAAiB;iCACpB,cAAc;2BACpB,QAAQ;kCACD,eAAe;kCACf,eAAe;kCACf,gBAAgB;kCAChB,gBAAgB;mCACf,gBAAgB;mBAGhC,UAAU;iCAFI,eAAe;6BACnB,UAAU;8BAET,YAAY;0BAChB,OAAO;6BACJ,UAAU;yCACE,wBAAwB"}
|
|
@@ -1,100 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
const activeAppInfo_1 = __importDefault(require("./activeAppInfo"));
|
|
7
|
-
const alert_1 = __importDefault(require("./alert"));
|
|
8
|
-
const app_management_1 = __importDefault(require("./app-management"));
|
|
9
|
-
const appearance_1 = __importDefault(require("./appearance"));
|
|
10
|
-
const app_strings_1 = __importDefault(require("./app-strings"));
|
|
11
|
-
const audit_1 = __importDefault(require("./audit"));
|
|
12
|
-
const battery_1 = __importDefault(require("./battery"));
|
|
13
|
-
const biometric_1 = __importDefault(require("./biometric"));
|
|
14
|
-
const certificate_1 = __importDefault(require("./certificate"));
|
|
15
|
-
const clipboard_1 = __importDefault(require("./clipboard"));
|
|
16
|
-
const condition_1 = __importDefault(require("./condition"));
|
|
17
|
-
const content_size_1 = __importDefault(require("./content-size"));
|
|
18
|
-
const context_1 = __importDefault(require("./context"));
|
|
19
|
-
const deviceInfo_1 = __importDefault(require("./deviceInfo"));
|
|
20
|
-
const element_1 = __importDefault(require("./element"));
|
|
21
|
-
const execute_1 = __importDefault(require("./execute"));
|
|
22
|
-
const file_movement_1 = __importDefault(require("./file-movement"));
|
|
23
|
-
const find_1 = __importDefault(require("./find"));
|
|
24
|
-
const general_1 = __importDefault(require("./general"));
|
|
25
|
-
const geolocation_1 = __importDefault(require("./geolocation"));
|
|
26
|
-
const gesture_1 = __importDefault(require("./gesture"));
|
|
27
|
-
const increase_contrast_1 = __importDefault(require("./increase-contrast"));
|
|
28
|
-
const iohid_1 = __importDefault(require("./iohid"));
|
|
29
|
-
const keychains_1 = __importDefault(require("./keychains"));
|
|
30
|
-
const keyboard_1 = __importDefault(require("./keyboard"));
|
|
31
|
-
const localization_1 = __importDefault(require("./localization"));
|
|
32
|
-
const location_1 = __importDefault(require("./location"));
|
|
33
|
-
const lock_1 = __importDefault(require("./lock"));
|
|
34
|
-
const log_1 = __importDefault(require("./log"));
|
|
35
|
-
const memory_1 = __importDefault(require("./memory"));
|
|
36
|
-
const navigation_1 = __importDefault(require("./navigation"));
|
|
37
|
-
const notifications_1 = __importDefault(require("./notifications"));
|
|
38
|
-
const pasteboard_1 = __importDefault(require("./pasteboard"));
|
|
39
|
-
const pcap_1 = __importDefault(require("./pcap"));
|
|
40
|
-
const performance_1 = __importDefault(require("./performance"));
|
|
41
|
-
const permissions_1 = __importDefault(require("./permissions"));
|
|
42
|
-
const proxy_helper_1 = __importDefault(require("./proxy-helper"));
|
|
43
|
-
const record_audio_1 = __importDefault(require("./record-audio"));
|
|
44
|
-
const recordscreen_1 = __importDefault(require("./recordscreen"));
|
|
45
|
-
const screenshots_1 = __importDefault(require("./screenshots"));
|
|
46
|
-
const source_1 = __importDefault(require("./source"));
|
|
47
|
-
const simctl_1 = __importDefault(require("./simctl"));
|
|
48
|
-
const timeouts_1 = __importDefault(require("./timeouts"));
|
|
49
|
-
const web_1 = __importDefault(require("./web"));
|
|
50
|
-
const xctest_1 = __importDefault(require("./xctest"));
|
|
51
|
-
const xctest_record_screen_1 = __importDefault(require("./xctest-record-screen"));
|
|
52
|
-
exports.default = {
|
|
53
|
-
activeAppInfoExtensions: activeAppInfo_1.default,
|
|
54
|
-
alertExtensions: alert_1.default,
|
|
55
|
-
appearanceExtensions: appearance_1.default,
|
|
56
|
-
appManagementExtensions: app_management_1.default,
|
|
57
|
-
appStringsExtensions: app_strings_1.default,
|
|
58
|
-
auditExtensions: audit_1.default,
|
|
59
|
-
batteryExtensions: battery_1.default,
|
|
60
|
-
biometricExtensions: biometric_1.default,
|
|
61
|
-
certificateExtensions: certificate_1.default,
|
|
62
|
-
clipboardExtensions: clipboard_1.default,
|
|
63
|
-
conditionExtensions: condition_1.default,
|
|
64
|
-
contentSizeExtensions: content_size_1.default,
|
|
65
|
-
contextExtensions: context_1.default,
|
|
66
|
-
deviceInfoExtensions: deviceInfo_1.default,
|
|
67
|
-
elementExtensions: element_1.default,
|
|
68
|
-
executeExtensions: execute_1.default,
|
|
69
|
-
fileMovementExtensions: file_movement_1.default,
|
|
70
|
-
findExtensions: find_1.default,
|
|
71
|
-
generalExtensions: general_1.default,
|
|
72
|
-
geolocationExtensions: geolocation_1.default,
|
|
73
|
-
gestureExtensions: gesture_1.default,
|
|
74
|
-
increaseContrastExtensions: increase_contrast_1.default,
|
|
75
|
-
iohidExtensions: iohid_1.default,
|
|
76
|
-
keychainsExtensions: keychains_1.default,
|
|
77
|
-
keyboardExtensions: keyboard_1.default,
|
|
78
|
-
localizationExtensions: localization_1.default,
|
|
79
|
-
locationExtensions: location_1.default,
|
|
80
|
-
lockExtensions: lock_1.default,
|
|
81
|
-
logExtensions: log_1.default,
|
|
82
|
-
memoryExtensions: memory_1.default,
|
|
83
|
-
navigationExtensions: navigation_1.default,
|
|
84
|
-
notificationsExtensions: notifications_1.default,
|
|
85
|
-
pasteboardExtensions: pasteboard_1.default,
|
|
86
|
-
pcapExtensions: pcap_1.default,
|
|
87
|
-
performanceExtensions: performance_1.default,
|
|
88
|
-
permissionsExtensions: permissions_1.default,
|
|
89
|
-
proxyHelperExtensions: proxy_helper_1.default,
|
|
90
|
-
recordAudioExtensions: record_audio_1.default,
|
|
91
|
-
recordScreenExtensions: recordscreen_1.default,
|
|
92
|
-
simctl: simctl_1.default,
|
|
93
|
-
screenshotExtensions: screenshots_1.default,
|
|
94
|
-
sourceExtensions: source_1.default,
|
|
95
|
-
timeoutExtensions: timeouts_1.default,
|
|
96
|
-
webExtensions: web_1.default,
|
|
97
|
-
xctestExtensions: xctest_1.default,
|
|
98
|
-
xctestRecordScreenExtensions: xctest_record_screen_1.default,
|
|
99
|
-
};
|
|
100
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../lib/commands/index.js"],"names":[],"mappings":";;;;;AAAA,oEAAsD;AACtD,oDAAsC;AACtC,sEAAuD;AACvD,8DAAgD;AAChD,gEAAiD;AACjD,oDAAsC;AACtC,wDAA0C;AAC1C,4DAA8C;AAC9C,gEAAkD;AAClD,4DAA8C;AAC9C,4DAA8C;AAC9C,kEAAmD;AACnD,wDAA0C;AAC1C,8DAAgD;AAChD,wDAA0C;AAC1C,wDAA0C;AAC1C,oEAAqD;AACrD,kDAAoC;AACpC,wDAA0C;AAC1C,gEAAkD;AAClD,wDAA0C;AAC1C,4EA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AAoB,EAApB,oBAAoB;IACpB,uBAAuB,EAAvB,uBAAuB;IACvB,oBAAoB,EAApB,oBAAoB;IACpB,cAAc,EAAd,cAAc;IACd,qBAAqB,EAArB,qBAAqB;IACrB,qBAAqB,EAArB,qBAAqB;IACrB,qBAAqB,EAArB,sBAAqB;IACrB,qBAAqB,EAArB,sBAAqB;IACrB,sBAAsB,EAAtB,sBAAsB;IACtB,MAAM,EAAN,gBAAM;IACN,oBAAoB,EAApB,qBAAoB;IACpB,gBAAgB,EAAhB,gBAAgB;IAChB,iBAAiB,EAAjB,kBAAiB;IACjB,aAAa,EAAb,aAAa;IACb,gBAAgB,EAAhB,gBAAgB;IAChB,4BAA4B,EAA5B,8BAA4B;CAC7B,CAAC"}
|
package/build/lib/cookies.d.ts
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
declare namespace _default {
|
|
2
|
-
export { createJSCookie };
|
|
3
|
-
export { createJWPCookie };
|
|
4
|
-
export { getValue };
|
|
5
|
-
export { expireCookie };
|
|
6
|
-
}
|
|
7
|
-
export default _default;
|
|
8
|
-
export function createJSCookie(key: any, value: any, options?: {}): string;
|
|
9
|
-
export function createJWPCookie(key: any, cookieString: any, converter?: null): {
|
|
10
|
-
name: any;
|
|
11
|
-
value: any;
|
|
12
|
-
};
|
|
13
|
-
export function getValue(key: any, cookieString: any, converter?: null): any;
|
|
14
|
-
export function expireCookie(key: any, options: any): string;
|
|
15
|
-
//# sourceMappingURL=cookies.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"cookies.d.ts","sourceRoot":"","sources":["../../lib/cookies.js"],"names":[],"mappings":";;;;;;;AAiCA,2EAUC;AAGD;;;EAoBC;AAGD,6EAKC;AAID,6DASC"}
|
package/build/lib/cookies.js
DELETED
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/*
|
|
3
|
-
* derived from jQuery Cookie Plugin v1.4.1
|
|
4
|
-
* https://github.com/carhartl/jquery-cookie
|
|
5
|
-
*/
|
|
6
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
7
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
8
|
-
};
|
|
9
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
-
exports.createJSCookie = createJSCookie;
|
|
11
|
-
exports.createJWPCookie = createJWPCookie;
|
|
12
|
-
exports.getValue = getValue;
|
|
13
|
-
exports.expireCookie = expireCookie;
|
|
14
|
-
// needed to communicate/translate between JSONWire cookies and regular JavaScript cookies
|
|
15
|
-
const lodash_1 = __importDefault(require("lodash"));
|
|
16
|
-
const support_1 = require("appium/support");
|
|
17
|
-
const log = support_1.logger.getLogger('Cookie');
|
|
18
|
-
// parses the value if needed and converts the value if a converter is provided
|
|
19
|
-
// internal function, not exported
|
|
20
|
-
function convertCookie(value, converter) {
|
|
21
|
-
if (value.indexOf('"') === 0) {
|
|
22
|
-
// this is a quoted cookied according to RFC2068
|
|
23
|
-
// remove enclosing quotes and internal quotes and backslashes
|
|
24
|
-
value = value.slice(1, -1).replace(/\\"/g, '"').replace(/\\\\/g, '\\');
|
|
25
|
-
}
|
|
26
|
-
let parsedValue;
|
|
27
|
-
try {
|
|
28
|
-
parsedValue = decodeURIComponent(value.replace(/\+/g, ' '));
|
|
29
|
-
}
|
|
30
|
-
catch (e) {
|
|
31
|
-
// no need to fail if we can't decode
|
|
32
|
-
log.warn(e);
|
|
33
|
-
}
|
|
34
|
-
return converter ? converter(parsedValue) : parsedValue;
|
|
35
|
-
}
|
|
36
|
-
// takes arguments given and creates a JavaScript Cookie
|
|
37
|
-
function createJSCookie(key, value, options = {}) {
|
|
38
|
-
return [
|
|
39
|
-
encodeURIComponent(key),
|
|
40
|
-
'=',
|
|
41
|
-
value,
|
|
42
|
-
options.expires ? `; expires=${options.expires}` : '',
|
|
43
|
-
options.path ? `; path=${options.path}` : '',
|
|
44
|
-
options.domain ? `; domain=${options.domain}` : '',
|
|
45
|
-
options.secure ? '; secure' : '',
|
|
46
|
-
].join('');
|
|
47
|
-
}
|
|
48
|
-
// takes the JavaScript cookieString and translates it into a JSONWire formatted cookie
|
|
49
|
-
function createJWPCookie(key, cookieString, converter = null) {
|
|
50
|
-
let result = {};
|
|
51
|
-
let cookies = cookieString ? cookieString.split('; ') : [];
|
|
52
|
-
for (let cookie of cookies) {
|
|
53
|
-
let parts = cookie.split('=');
|
|
54
|
-
// get the first and second element as name and value
|
|
55
|
-
let name = decodeURIComponent(parts.shift());
|
|
56
|
-
let val = parts[0];
|
|
57
|
-
// if name is key, this is the central element of the cookie, so add as `name`
|
|
58
|
-
// otherwise it is an optional element
|
|
59
|
-
if (key && key === name) {
|
|
60
|
-
result.name = key;
|
|
61
|
-
result.value = convertCookie(val, converter);
|
|
62
|
-
}
|
|
63
|
-
else {
|
|
64
|
-
result[name] = convertCookie(val, converter);
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
return result;
|
|
68
|
-
}
|
|
69
|
-
// takes a JavaScript cookiestring and parses it for the value given the key
|
|
70
|
-
function getValue(key, cookieString, converter = null) {
|
|
71
|
-
let result = createJWPCookie(key, cookieString, converter);
|
|
72
|
-
// if `key` is undefined we want the entire cookie
|
|
73
|
-
return lodash_1.default.isUndefined(key) ? result : result.value;
|
|
74
|
-
}
|
|
75
|
-
// returns a cookie that expires on 01 Jan 1970
|
|
76
|
-
// assign the returned cookie to an existing cookie to delete that cookie
|
|
77
|
-
function expireCookie(key, options) {
|
|
78
|
-
// override `expires` in `options`, and then make the cookie
|
|
79
|
-
return createJSCookie(key, '', lodash_1.default.assign({}, options, {
|
|
80
|
-
expires: 'Thu, 01 Jan 1970 00:00:00 GMT',
|
|
81
|
-
}));
|
|
82
|
-
}
|
|
83
|
-
exports.default = { createJSCookie, createJWPCookie, getValue, expireCookie };
|
|
84
|
-
//# sourceMappingURL=cookies.js.map
|
package/build/lib/cookies.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":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eAAe,CAAC,GAAG,EAAE,YAAY,EAAE,SAAS,CAAC,CAAC;IAE3D,kDAAkD;IAClD,OAAO,gBAAC,CAAC,WAAW,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC;AACpD,CAAC;AAED,+CAA+C;AAC/C,yEAAyE;AACzE,SAAS,YAAY,CAAC,GAAG,EAAE,OAAO;IAChC,4DAA4D;IAC5D,OAAO,cAAc,CACnB,GAAG,EACH,EAAE,EACF,gBAAC,CAAC,MAAM,CAAC,EAAE,EAAE,OAAO,EAAE;QACpB,OAAO,EAAE,+BAA+B;KACzC,CAAC,CACH,CAAC;AACJ,CAAC;AAID,kBAAe,EAAC,cAAc,EAAE,eAAe,EAAE,QAAQ,EAAE,YAAY,EAAC,CAAC"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
export default {
|
|
2
|
-
/**
|
|
3
|
-
* Returns information about the active application.
|
|
4
|
-
*
|
|
5
|
-
* @returns {Promise<import('./types').ActiveAppInfo>} Active app information
|
|
6
|
-
* @throws {Error} if an error raised by command
|
|
7
|
-
* @this {import('../driver').XCUITestDriver}
|
|
8
|
-
*/
|
|
9
|
-
async mobileGetActiveAppInfo() {
|
|
10
|
-
return /** @type {import('./types').ActiveAppInfo} */ (
|
|
11
|
-
await this.proxyCommand('/wda/activeAppInfo', 'GET')
|
|
12
|
-
);
|
|
13
|
-
},
|
|
14
|
-
};
|
package/lib/commands/index.js
DELETED
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
import activeAppInfoExtensions from './activeAppInfo';
|
|
2
|
-
import alertExtensions from './alert';
|
|
3
|
-
import appManagementExtensions from './app-management';
|
|
4
|
-
import appearanceExtensions from './appearance';
|
|
5
|
-
import appStringsExtensions from './app-strings';
|
|
6
|
-
import auditExtensions from './audit';
|
|
7
|
-
import batteryExtensions from './battery';
|
|
8
|
-
import biometricExtensions from './biometric';
|
|
9
|
-
import certificateExtensions from './certificate';
|
|
10
|
-
import clipboardExtensions from './clipboard';
|
|
11
|
-
import conditionExtensions from './condition';
|
|
12
|
-
import contentSizeExtensions from './content-size';
|
|
13
|
-
import contextExtensions from './context';
|
|
14
|
-
import deviceInfoExtensions from './deviceInfo';
|
|
15
|
-
import elementExtensions from './element';
|
|
16
|
-
import executeExtensions from './execute';
|
|
17
|
-
import fileMovementExtensions from './file-movement';
|
|
18
|
-
import findExtensions from './find';
|
|
19
|
-
import generalExtensions from './general';
|
|
20
|
-
import geolocationExtensions from './geolocation';
|
|
21
|
-
import gestureExtensions from './gesture';
|
|
22
|
-
import increaseContrastExtensions from './increase-contrast';
|
|
23
|
-
import iohidExtensions from './iohid';
|
|
24
|
-
import keychainsExtensions from './keychains';
|
|
25
|
-
import keyboardExtensions from './keyboard';
|
|
26
|
-
import localizationExtensions from './localization';
|
|
27
|
-
import locationExtensions from './location';
|
|
28
|
-
import lockExtensions from './lock';
|
|
29
|
-
import logExtensions from './log';
|
|
30
|
-
import memoryExtensions from './memory';
|
|
31
|
-
import navigationExtensions from './navigation';
|
|
32
|
-
import notificationsExtensions from './notifications';
|
|
33
|
-
import pasteboardExtensions from './pasteboard';
|
|
34
|
-
import pcapExtensions from './pcap';
|
|
35
|
-
import performanceExtensions from './performance';
|
|
36
|
-
import permissionsExtensions from './permissions';
|
|
37
|
-
import proxyHelperExtensions from './proxy-helper';
|
|
38
|
-
import recordAudioExtensions from './record-audio';
|
|
39
|
-
import recordScreenExtensions from './recordscreen';
|
|
40
|
-
import screenshotExtensions from './screenshots';
|
|
41
|
-
import sourceExtensions from './source';
|
|
42
|
-
import simctl from './simctl';
|
|
43
|
-
import timeoutExtensions from './timeouts';
|
|
44
|
-
import webExtensions from './web';
|
|
45
|
-
import xctestExtensions from './xctest';
|
|
46
|
-
import xctestRecordScreenExtensions from './xctest-record-screen';
|
|
47
|
-
|
|
48
|
-
export default {
|
|
49
|
-
activeAppInfoExtensions,
|
|
50
|
-
alertExtensions,
|
|
51
|
-
appearanceExtensions,
|
|
52
|
-
appManagementExtensions,
|
|
53
|
-
appStringsExtensions,
|
|
54
|
-
auditExtensions,
|
|
55
|
-
batteryExtensions,
|
|
56
|
-
biometricExtensions,
|
|
57
|
-
certificateExtensions,
|
|
58
|
-
clipboardExtensions,
|
|
59
|
-
conditionExtensions,
|
|
60
|
-
contentSizeExtensions,
|
|
61
|
-
contextExtensions,
|
|
62
|
-
deviceInfoExtensions,
|
|
63
|
-
elementExtensions,
|
|
64
|
-
executeExtensions,
|
|
65
|
-
fileMovementExtensions,
|
|
66
|
-
findExtensions,
|
|
67
|
-
generalExtensions,
|
|
68
|
-
geolocationExtensions,
|
|
69
|
-
gestureExtensions,
|
|
70
|
-
increaseContrastExtensions,
|
|
71
|
-
iohidExtensions,
|
|
72
|
-
keychainsExtensions,
|
|
73
|
-
keyboardExtensions,
|
|
74
|
-
localizationExtensions,
|
|
75
|
-
locationExtensions,
|
|
76
|
-
lockExtensions,
|
|
77
|
-
logExtensions,
|
|
78
|
-
memoryExtensions,
|
|
79
|
-
navigationExtensions,
|
|
80
|
-
notificationsExtensions,
|
|
81
|
-
pasteboardExtensions,
|
|
82
|
-
pcapExtensions,
|
|
83
|
-
performanceExtensions,
|
|
84
|
-
permissionsExtensions,
|
|
85
|
-
proxyHelperExtensions,
|
|
86
|
-
recordAudioExtensions,
|
|
87
|
-
recordScreenExtensions,
|
|
88
|
-
simctl,
|
|
89
|
-
screenshotExtensions,
|
|
90
|
-
sourceExtensions,
|
|
91
|
-
timeoutExtensions,
|
|
92
|
-
webExtensions,
|
|
93
|
-
xctestExtensions,
|
|
94
|
-
xctestRecordScreenExtensions,
|
|
95
|
-
};
|