@limrun/appium-xcuitest-driver 10.4.3-lim.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 +2600 -0
- package/LICENSE +201 -0
- package/README.md +55 -0
- package/build/index.d.ts +5 -0
- package/build/index.js +41 -0
- package/build/lib/app-infos-cache.d.ts +62 -0
- package/build/lib/app-infos-cache.d.ts.map +1 -0
- package/build/lib/app-infos-cache.js +180 -0
- package/build/lib/app-infos-cache.js.map +1 -0
- package/build/lib/app-utils.d.ts +89 -0
- package/build/lib/app-utils.d.ts.map +1 -0
- package/build/lib/app-utils.js +657 -0
- package/build/lib/app-utils.js.map +1 -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/advanced-battery-types.d.ts +444 -0
- package/build/lib/commands/advanced-battery-types.d.ts.map +1 -0
- package/build/lib/commands/advanced-battery-types.js +8 -0
- package/build/lib/commands/advanced-battery-types.js.map +1 -0
- package/build/lib/commands/alert.d.ts +45 -0
- package/build/lib/commands/alert.d.ts.map +1 -0
- package/build/lib/commands/alert.js +87 -0
- package/build/lib/commands/alert.js.map +1 -0
- package/build/lib/commands/app-management.d.ts +153 -0
- package/build/lib/commands/app-management.d.ts.map +1 -0
- package/build/lib/commands/app-management.js +323 -0
- package/build/lib/commands/app-management.js.map +1 -0
- package/build/lib/commands/app-strings.d.ts +16 -0
- package/build/lib/commands/app-strings.d.ts.map +1 -0
- package/build/lib/commands/app-strings.js +30 -0
- package/build/lib/commands/app-strings.js.map +1 -0
- package/build/lib/commands/appearance.d.ts +22 -0
- package/build/lib/commands/appearance.d.ts.map +1 -0
- package/build/lib/commands/appearance.js +74 -0
- package/build/lib/commands/appearance.js.map +1 -0
- package/build/lib/commands/audit.d.ts +43 -0
- package/build/lib/commands/audit.d.ts.map +1 -0
- package/build/lib/commands/audit.js +31 -0
- package/build/lib/commands/audit.js.map +1 -0
- package/build/lib/commands/battery.d.ts +13 -0
- package/build/lib/commands/battery.d.ts.map +1 -0
- package/build/lib/commands/battery.js +49 -0
- package/build/lib/commands/battery.js.map +1 -0
- package/build/lib/commands/bidi/constants.d.ts +6 -0
- package/build/lib/commands/bidi/constants.d.ts.map +1 -0
- package/build/lib/commands/bidi/constants.js +10 -0
- package/build/lib/commands/bidi/constants.js.map +1 -0
- package/build/lib/commands/bidi/models.d.ts +9 -0
- package/build/lib/commands/bidi/models.d.ts.map +1 -0
- package/build/lib/commands/bidi/models.js +54 -0
- package/build/lib/commands/bidi/models.js.map +1 -0
- package/build/lib/commands/bidi/types.d.ts +26 -0
- package/build/lib/commands/bidi/types.d.ts.map +1 -0
- package/build/lib/commands/bidi/types.js +4 -0
- package/build/lib/commands/bidi/types.js.map +1 -0
- package/build/lib/commands/biometric.d.ts +32 -0
- package/build/lib/commands/biometric.d.ts.map +1 -0
- package/build/lib/commands/biometric.js +54 -0
- package/build/lib/commands/biometric.js.map +1 -0
- package/build/lib/commands/certificate.d.ts +50 -0
- package/build/lib/commands/certificate.d.ts.map +1 -0
- package/build/lib/commands/certificate.js +454 -0
- package/build/lib/commands/certificate.js.map +1 -0
- package/build/lib/commands/clipboard.d.ts +21 -0
- package/build/lib/commands/clipboard.d.ts.map +1 -0
- package/build/lib/commands/clipboard.js +36 -0
- package/build/lib/commands/clipboard.js.map +1 -0
- package/build/lib/commands/condition.d.ts +102 -0
- package/build/lib/commands/condition.d.ts.map +1 -0
- package/build/lib/commands/condition.js +146 -0
- package/build/lib/commands/condition.js.map +1 -0
- package/build/lib/commands/content-size.d.ts +30 -0
- package/build/lib/commands/content-size.d.ts.map +1 -0
- package/build/lib/commands/content-size.js +67 -0
- package/build/lib/commands/content-size.js.map +1 -0
- package/build/lib/commands/context.d.ts +191 -0
- package/build/lib/commands/context.d.ts.map +1 -0
- package/build/lib/commands/context.js +625 -0
- package/build/lib/commands/context.js.map +1 -0
- package/build/lib/commands/deviceInfo.d.ts +12 -0
- package/build/lib/commands/deviceInfo.d.ts.map +1 -0
- package/build/lib/commands/deviceInfo.js +25 -0
- package/build/lib/commands/deviceInfo.js.map +1 -0
- package/build/lib/commands/element.d.ts +108 -0
- package/build/lib/commands/element.d.ts.map +1 -0
- package/build/lib/commands/element.js +395 -0
- package/build/lib/commands/element.js.map +1 -0
- package/build/lib/commands/enum.d.ts +105 -0
- package/build/lib/commands/enum.d.ts.map +1 -0
- package/build/lib/commands/enum.js +113 -0
- package/build/lib/commands/enum.js.map +1 -0
- package/build/lib/commands/execute.d.ts +33 -0
- package/build/lib/commands/execute.d.ts.map +1 -0
- package/build/lib/commands/execute.js +142 -0
- package/build/lib/commands/execute.js.map +1 -0
- package/build/lib/commands/file-movement.d.ts +90 -0
- package/build/lib/commands/file-movement.d.ts.map +1 -0
- package/build/lib/commands/file-movement.js +477 -0
- package/build/lib/commands/file-movement.js.map +1 -0
- package/build/lib/commands/find.d.ts +21 -0
- package/build/lib/commands/find.d.ts.map +1 -0
- package/build/lib/commands/find.js +199 -0
- package/build/lib/commands/find.js.map +1 -0
- package/build/lib/commands/general.d.ts +137 -0
- package/build/lib/commands/general.d.ts.map +1 -0
- package/build/lib/commands/general.js +270 -0
- package/build/lib/commands/general.js.map +1 -0
- package/build/lib/commands/geolocation.d.ts +57 -0
- package/build/lib/commands/geolocation.d.ts.map +1 -0
- package/build/lib/commands/geolocation.js +58 -0
- package/build/lib/commands/geolocation.js.map +1 -0
- package/build/lib/commands/gesture.d.ts +283 -0
- package/build/lib/commands/gesture.d.ts.map +1 -0
- package/build/lib/commands/gesture.js +565 -0
- package/build/lib/commands/gesture.js.map +1 -0
- package/build/lib/commands/hid-event.d.ts +2773 -0
- package/build/lib/commands/hid-event.d.ts.map +1 -0
- package/build/lib/commands/hid-event.js +1633 -0
- package/build/lib/commands/hid-event.js.map +1 -0
- package/build/lib/commands/increase-contrast.d.ts +24 -0
- package/build/lib/commands/increase-contrast.d.ts.map +1 -0
- package/build/lib/commands/increase-contrast.js +49 -0
- package/build/lib/commands/increase-contrast.js.map +1 -0
- package/build/lib/commands/iohid.d.ts +1372 -0
- package/build/lib/commands/iohid.d.ts.map +1 -0
- package/build/lib/commands/iohid.js +63 -0
- package/build/lib/commands/iohid.js.map +1 -0
- package/build/lib/commands/keyboard.d.ts +32 -0
- package/build/lib/commands/keyboard.d.ts.map +1 -0
- package/build/lib/commands/keyboard.js +67 -0
- package/build/lib/commands/keyboard.js.map +1 -0
- package/build/lib/commands/keychains.d.ts +10 -0
- package/build/lib/commands/keychains.d.ts.map +1 -0
- package/build/lib/commands/keychains.js +22 -0
- package/build/lib/commands/keychains.js.map +1 -0
- package/build/lib/commands/localization.d.ts +17 -0
- package/build/lib/commands/localization.d.ts.map +1 -0
- package/build/lib/commands/localization.js +34 -0
- package/build/lib/commands/localization.js.map +1 -0
- package/build/lib/commands/location.d.ts +40 -0
- package/build/lib/commands/location.d.ts.map +1 -0
- package/build/lib/commands/location.js +121 -0
- package/build/lib/commands/location.js.map +1 -0
- package/build/lib/commands/lock.d.ts +23 -0
- package/build/lib/commands/lock.d.ts.map +1 -0
- package/build/lib/commands/lock.js +49 -0
- package/build/lib/commands/lock.js.map +1 -0
- package/build/lib/commands/log.d.ts +68 -0
- package/build/lib/commands/log.d.ts.map +1 -0
- package/build/lib/commands/log.js +287 -0
- package/build/lib/commands/log.js.map +1 -0
- package/build/lib/commands/memory.d.ts +11 -0
- package/build/lib/commands/memory.d.ts.map +1 -0
- package/build/lib/commands/memory.js +49 -0
- package/build/lib/commands/memory.js.map +1 -0
- package/build/lib/commands/navigation.d.ts +44 -0
- package/build/lib/commands/navigation.d.ts.map +1 -0
- package/build/lib/commands/navigation.js +121 -0
- package/build/lib/commands/navigation.js.map +1 -0
- package/build/lib/commands/notifications.d.ts +28 -0
- package/build/lib/commands/notifications.d.ts.map +1 -0
- package/build/lib/commands/notifications.js +64 -0
- package/build/lib/commands/notifications.js.map +1 -0
- package/build/lib/commands/pasteboard.d.ts +23 -0
- package/build/lib/commands/pasteboard.d.ts.map +1 -0
- package/build/lib/commands/pasteboard.js +43 -0
- package/build/lib/commands/pasteboard.js.map +1 -0
- package/build/lib/commands/pcap.d.ts +54 -0
- package/build/lib/commands/pcap.d.ts.map +1 -0
- package/build/lib/commands/pcap.js +149 -0
- package/build/lib/commands/pcap.js.map +1 -0
- package/build/lib/commands/performance.d.ts +85 -0
- package/build/lib/commands/performance.d.ts.map +1 -0
- package/build/lib/commands/performance.js +331 -0
- package/build/lib/commands/performance.js.map +1 -0
- package/build/lib/commands/permissions.d.ts +36 -0
- package/build/lib/commands/permissions.d.ts.map +1 -0
- package/build/lib/commands/permissions.js +80 -0
- package/build/lib/commands/permissions.js.map +1 -0
- package/build/lib/commands/proxy-helper.d.ts +15 -0
- package/build/lib/commands/proxy-helper.d.ts.map +1 -0
- package/build/lib/commands/proxy-helper.js +117 -0
- package/build/lib/commands/proxy-helper.js.map +1 -0
- package/build/lib/commands/record-audio.d.ts +69 -0
- package/build/lib/commands/record-audio.d.ts.map +1 -0
- package/build/lib/commands/record-audio.js +228 -0
- package/build/lib/commands/record-audio.js.map +1 -0
- package/build/lib/commands/recordscreen.d.ts +89 -0
- package/build/lib/commands/recordscreen.d.ts.map +1 -0
- package/build/lib/commands/recordscreen.js +326 -0
- package/build/lib/commands/recordscreen.js.map +1 -0
- package/build/lib/commands/screenshots.d.ts +16 -0
- package/build/lib/commands/screenshots.d.ts.map +1 -0
- package/build/lib/commands/screenshots.js +129 -0
- package/build/lib/commands/screenshots.js.map +1 -0
- package/build/lib/commands/simctl.d.ts +27 -0
- package/build/lib/commands/simctl.d.ts.map +1 -0
- package/build/lib/commands/simctl.js +65 -0
- package/build/lib/commands/simctl.js.map +1 -0
- package/build/lib/commands/source.d.ts +16 -0
- package/build/lib/commands/source.d.ts.map +1 -0
- package/build/lib/commands/source.js +128 -0
- package/build/lib/commands/source.js.map +1 -0
- package/build/lib/commands/timeouts.d.ts +53 -0
- package/build/lib/commands/timeouts.d.ts.map +1 -0
- package/build/lib/commands/timeouts.js +71 -0
- package/build/lib/commands/timeouts.js.map +1 -0
- package/build/lib/commands/types.d.ts +539 -0
- package/build/lib/commands/types.d.ts.map +1 -0
- package/build/lib/commands/types.js +3 -0
- package/build/lib/commands/types.js.map +1 -0
- package/build/lib/commands/web.d.ts +297 -0
- package/build/lib/commands/web.d.ts.map +1 -0
- package/build/lib/commands/web.js +1029 -0
- package/build/lib/commands/web.js.map +1 -0
- package/build/lib/commands/xctest-record-screen.d.ts +92 -0
- package/build/lib/commands/xctest-record-screen.d.ts.map +1 -0
- package/build/lib/commands/xctest-record-screen.js +193 -0
- package/build/lib/commands/xctest-record-screen.js.map +1 -0
- package/build/lib/commands/xctest.d.ts +71 -0
- package/build/lib/commands/xctest.d.ts.map +1 -0
- package/build/lib/commands/xctest.js +257 -0
- package/build/lib/commands/xctest.js.map +1 -0
- package/build/lib/css-converter.d.ts +10 -0
- package/build/lib/css-converter.d.ts.map +1 -0
- package/build/lib/css-converter.js +258 -0
- package/build/lib/css-converter.js.map +1 -0
- package/build/lib/desired-caps.d.ts +506 -0
- package/build/lib/desired-caps.d.ts.map +1 -0
- package/build/lib/desired-caps.js +400 -0
- package/build/lib/desired-caps.js.map +1 -0
- package/build/lib/device-connections-factory.d.ts +13 -0
- package/build/lib/device-connections-factory.d.ts.map +1 -0
- package/build/lib/device-connections-factory.js +244 -0
- package/build/lib/device-connections-factory.js.map +1 -0
- package/build/lib/device-log/helpers.d.ts +10 -0
- package/build/lib/device-log/helpers.d.ts.map +1 -0
- package/build/lib/device-log/helpers.js +37 -0
- package/build/lib/device-log/helpers.js.map +1 -0
- package/build/lib/device-log/ios-crash-log.d.ts +34 -0
- package/build/lib/device-log/ios-crash-log.d.ts.map +1 -0
- package/build/lib/device-log/ios-crash-log.js +141 -0
- package/build/lib/device-log/ios-crash-log.js.map +1 -0
- package/build/lib/device-log/ios-device-log.d.ts +19 -0
- package/build/lib/device-log/ios-device-log.d.ts.map +1 -0
- package/build/lib/device-log/ios-device-log.js +42 -0
- package/build/lib/device-log/ios-device-log.js.map +1 -0
- package/build/lib/device-log/ios-log.d.ts +24 -0
- package/build/lib/device-log/ios-log.d.ts.map +1 -0
- package/build/lib/device-log/ios-log.js +50 -0
- package/build/lib/device-log/ios-log.js.map +1 -0
- package/build/lib/device-log/ios-performance-log.d.ts +18 -0
- package/build/lib/device-log/ios-performance-log.d.ts.map +1 -0
- package/build/lib/device-log/ios-performance-log.js +43 -0
- package/build/lib/device-log/ios-performance-log.js.map +1 -0
- package/build/lib/device-log/ios-simulator-log.d.ts +38 -0
- package/build/lib/device-log/ios-simulator-log.d.ts.map +1 -0
- package/build/lib/device-log/ios-simulator-log.js +184 -0
- package/build/lib/device-log/ios-simulator-log.js.map +1 -0
- package/build/lib/device-log/line-consuming-log.d.ts +9 -0
- package/build/lib/device-log/line-consuming-log.d.ts.map +1 -0
- package/build/lib/device-log/line-consuming-log.js +16 -0
- package/build/lib/device-log/line-consuming-log.js.map +1 -0
- package/build/lib/device-log/safari-console-log.d.ts +67 -0
- package/build/lib/device-log/safari-console-log.d.ts.map +1 -0
- package/build/lib/device-log/safari-console-log.js +81 -0
- package/build/lib/device-log/safari-console-log.js.map +1 -0
- package/build/lib/device-log/safari-network-log.d.ts +75 -0
- package/build/lib/device-log/safari-network-log.d.ts.map +1 -0
- package/build/lib/device-log/safari-network-log.js +47 -0
- package/build/lib/device-log/safari-network-log.js.map +1 -0
- package/build/lib/doctor/checks.d.ts +3 -0
- package/build/lib/doctor/checks.d.ts.map +1 -0
- package/build/lib/doctor/checks.js +39 -0
- package/build/lib/doctor/checks.js.map +1 -0
- package/build/lib/doctor/optional-checks.d.ts +46 -0
- package/build/lib/doctor/optional-checks.d.ts.map +1 -0
- package/build/lib/doctor/optional-checks.js +129 -0
- package/build/lib/doctor/optional-checks.js.map +1 -0
- package/build/lib/doctor/required-checks.d.ts +42 -0
- package/build/lib/doctor/required-checks.d.ts.map +1 -0
- package/build/lib/doctor/required-checks.js +94 -0
- package/build/lib/doctor/required-checks.js.map +1 -0
- package/build/lib/doctor/utils.d.ts +8 -0
- package/build/lib/doctor/utils.d.ts.map +1 -0
- package/build/lib/doctor/utils.js +21 -0
- package/build/lib/doctor/utils.js.map +1 -0
- package/build/lib/driver.d.ts +2429 -0
- package/build/lib/driver.d.ts.map +1 -0
- package/build/lib/driver.js +1967 -0
- package/build/lib/driver.js.map +1 -0
- package/build/lib/execute-method-map.d.ts +552 -0
- package/build/lib/execute-method-map.d.ts.map +1 -0
- package/build/lib/execute-method-map.js +586 -0
- package/build/lib/execute-method-map.js.map +1 -0
- package/build/lib/ios-fs-helpers.d.ts +75 -0
- package/build/lib/ios-fs-helpers.d.ts.map +1 -0
- package/build/lib/ios-fs-helpers.js +370 -0
- package/build/lib/ios-fs-helpers.js.map +1 -0
- package/build/lib/ios-generic-simulators.d.ts +6 -0
- package/build/lib/ios-generic-simulators.d.ts.map +1 -0
- package/build/lib/ios-generic-simulators.js +14 -0
- package/build/lib/ios-generic-simulators.js.map +1 -0
- package/build/lib/logger.d.ts +3 -0
- package/build/lib/logger.d.ts.map +1 -0
- package/build/lib/logger.js +6 -0
- package/build/lib/logger.js.map +1 -0
- package/build/lib/method-map.d.ts +229 -0
- package/build/lib/method-map.d.ts.map +1 -0
- package/build/lib/method-map.js +200 -0
- package/build/lib/method-map.js.map +1 -0
- package/build/lib/real-device-clients/base-device-client.d.ts +22 -0
- package/build/lib/real-device-clients/base-device-client.d.ts.map +1 -0
- package/build/lib/real-device-clients/base-device-client.js +14 -0
- package/build/lib/real-device-clients/base-device-client.js.map +1 -0
- package/build/lib/real-device-clients/py-ios-device-client.d.ts +21 -0
- package/build/lib/real-device-clients/py-ios-device-client.d.ts.map +1 -0
- package/build/lib/real-device-clients/py-ios-device-client.js +125 -0
- package/build/lib/real-device-clients/py-ios-device-client.js.map +1 -0
- package/build/lib/real-device-management.d.ts +53 -0
- package/build/lib/real-device-management.d.ts.map +1 -0
- package/build/lib/real-device-management.js +128 -0
- package/build/lib/real-device-management.js.map +1 -0
- package/build/lib/real-device.d.ts +112 -0
- package/build/lib/real-device.d.ts.map +1 -0
- package/build/lib/real-device.js +352 -0
- package/build/lib/real-device.js.map +1 -0
- package/build/lib/simulator-management.d.ts +96 -0
- package/build/lib/simulator-management.d.ts.map +1 -0
- package/build/lib/simulator-management.js +278 -0
- package/build/lib/simulator-management.js.map +1 -0
- package/build/lib/stubs.d.ts +3 -0
- package/build/lib/stubs.d.ts.map +1 -0
- package/build/lib/stubs.js +3 -0
- package/build/lib/stubs.js.map +1 -0
- package/build/lib/types.d.ts +31 -0
- package/build/lib/types.d.ts.map +1 -0
- package/build/lib/types.js +3 -0
- package/build/lib/types.js.map +1 -0
- package/build/lib/utils.d.ts +191 -0
- package/build/lib/utils.d.ts.map +1 -0
- package/build/lib/utils.js +549 -0
- package/build/lib/utils.js.map +1 -0
- package/build/lib/xcrun.d.ts +3 -0
- package/build/lib/xcrun.d.ts.map +1 -0
- package/build/lib/xcrun.js +17 -0
- package/build/lib/xcrun.js.map +1 -0
- package/index.js +7 -0
- package/lib/app-infos-cache.js +187 -0
- package/lib/app-utils.js +710 -0
- package/lib/commands/active-app-info.js +12 -0
- package/lib/commands/advanced-battery-types.ts +454 -0
- package/lib/commands/alert.js +88 -0
- package/lib/commands/app-management.js +346 -0
- package/lib/commands/app-strings.js +30 -0
- package/lib/commands/appearance.js +71 -0
- package/lib/commands/audit.js +31 -0
- package/lib/commands/battery.js +45 -0
- package/lib/commands/bidi/constants.ts +6 -0
- package/lib/commands/bidi/models.ts +55 -0
- package/lib/commands/bidi/types.ts +31 -0
- package/lib/commands/biometric.js +53 -0
- package/lib/commands/certificate.js +497 -0
- package/lib/commands/clipboard.js +35 -0
- package/lib/commands/condition.js +155 -0
- package/lib/commands/content-size.js +68 -0
- package/lib/commands/context.js +705 -0
- package/lib/commands/deviceInfo.js +27 -0
- package/lib/commands/element.js +423 -0
- package/lib/commands/enum.ts +108 -0
- package/lib/commands/execute.js +153 -0
- package/lib/commands/file-movement.js +510 -0
- package/lib/commands/find.js +205 -0
- package/lib/commands/general.js +278 -0
- package/lib/commands/geolocation.js +56 -0
- package/lib/commands/gesture.js +596 -0
- package/lib/commands/hid-event.ts +1634 -0
- package/lib/commands/increase-contrast.js +50 -0
- package/lib/commands/iohid.js +64 -0
- package/lib/commands/keyboard.js +62 -0
- package/lib/commands/keychains.js +18 -0
- package/lib/commands/localization.js +30 -0
- package/lib/commands/location.js +131 -0
- package/lib/commands/lock.js +46 -0
- package/lib/commands/log.js +327 -0
- package/lib/commands/memory.js +51 -0
- package/lib/commands/navigation.js +125 -0
- package/lib/commands/notifications.js +66 -0
- package/lib/commands/pasteboard.js +42 -0
- package/lib/commands/pcap.js +168 -0
- package/lib/commands/performance.js +392 -0
- package/lib/commands/permissions.js +85 -0
- package/lib/commands/proxy-helper.js +122 -0
- package/lib/commands/record-audio.js +264 -0
- package/lib/commands/recordscreen.js +391 -0
- package/lib/commands/screenshots.js +137 -0
- package/lib/commands/simctl.js +71 -0
- package/lib/commands/source.js +131 -0
- package/lib/commands/timeouts.js +68 -0
- package/lib/commands/types.ts +648 -0
- package/lib/commands/web.js +1113 -0
- package/lib/commands/xctest-record-screen.js +204 -0
- package/lib/commands/xctest.js +285 -0
- package/lib/css-converter.js +311 -0
- package/lib/desired-caps.js +396 -0
- package/lib/device-connections-factory.js +269 -0
- package/lib/device-log/helpers.ts +40 -0
- package/lib/device-log/ios-crash-log.ts +166 -0
- package/lib/device-log/ios-device-log.ts +51 -0
- package/lib/device-log/ios-log.ts +70 -0
- package/lib/device-log/ios-performance-log.ts +50 -0
- package/lib/device-log/ios-simulator-log.ts +202 -0
- package/lib/device-log/line-consuming-log.ts +16 -0
- package/lib/device-log/safari-console-log.ts +117 -0
- package/lib/device-log/safari-network-log.ts +120 -0
- package/lib/doctor/checks.ts +3 -0
- package/lib/doctor/optional-checks.ts +173 -0
- package/lib/doctor/required-checks.ts +120 -0
- package/lib/doctor/utils.ts +18 -0
- package/lib/driver.js +2316 -0
- package/lib/execute-method-map.ts +585 -0
- package/lib/ios-fs-helpers.js +355 -0
- package/lib/ios-generic-simulators.js +11 -0
- package/lib/logger.js +5 -0
- package/lib/method-map.js +196 -0
- package/lib/real-device-clients/base-device-client.ts +34 -0
- package/lib/real-device-clients/py-ios-device-client.ts +149 -0
- package/lib/real-device-management.js +133 -0
- package/lib/real-device.js +347 -0
- package/lib/simulator-management.js +324 -0
- package/lib/stubs.ts +3 -0
- package/lib/types.ts +33 -0
- package/lib/utils.js +551 -0
- package/lib/xcrun.js +16 -0
- package/package.json +175 -0
- package/scripts/build-docs.js +56 -0
- package/scripts/build-wda.js +42 -0
- package/scripts/download-wda-sim.mjs +68 -0
- package/scripts/image-mounter.mjs +239 -0
- package/scripts/open-wda.mjs +15 -0
- package/scripts/tunnel-creation.mjs +359 -0
- package/scripts/utils.js +16 -0
|
@@ -0,0 +1,2429 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @implements {ExternalDriver<XCUITestDriverConstraints, FullContext|string>}
|
|
3
|
+
* @extends {BaseDriver<XCUITestDriverConstraints>}
|
|
4
|
+
* @privateRemarks **This class should be considered "final"**. It cannot be extended
|
|
5
|
+
* due to use of public class field assignments. If extending this class becomes a hard requirement, refer to the implementation of `BaseDriver` on how to do so.
|
|
6
|
+
*/
|
|
7
|
+
export class XCUITestDriver extends BaseDriver<{
|
|
8
|
+
readonly platformName: {
|
|
9
|
+
readonly presence: true;
|
|
10
|
+
readonly isString: true;
|
|
11
|
+
readonly inclusionCaseInsensitive: readonly ["iOS", "tvOS"];
|
|
12
|
+
};
|
|
13
|
+
readonly browserName: {
|
|
14
|
+
readonly isString: true;
|
|
15
|
+
};
|
|
16
|
+
readonly app: {
|
|
17
|
+
readonly isString: true;
|
|
18
|
+
};
|
|
19
|
+
readonly calendarFormat: {
|
|
20
|
+
readonly isString: true;
|
|
21
|
+
};
|
|
22
|
+
readonly bundleId: {
|
|
23
|
+
readonly isString: true;
|
|
24
|
+
};
|
|
25
|
+
readonly udid: {
|
|
26
|
+
readonly isString: true;
|
|
27
|
+
};
|
|
28
|
+
readonly autoAcceptAlerts: {
|
|
29
|
+
readonly isBoolean: true;
|
|
30
|
+
};
|
|
31
|
+
readonly autoDismissAlerts: {
|
|
32
|
+
readonly isBoolean: true;
|
|
33
|
+
};
|
|
34
|
+
readonly nativeWebTap: {
|
|
35
|
+
readonly isBoolean: true;
|
|
36
|
+
};
|
|
37
|
+
readonly safariInitialUrl: {
|
|
38
|
+
readonly isString: true;
|
|
39
|
+
};
|
|
40
|
+
readonly initialDeeplinkUrl: {
|
|
41
|
+
readonly isString: true;
|
|
42
|
+
};
|
|
43
|
+
readonly safariAllowPopups: {
|
|
44
|
+
readonly isBoolean: true;
|
|
45
|
+
};
|
|
46
|
+
readonly safariIgnoreFraudWarning: {
|
|
47
|
+
readonly isBoolean: true;
|
|
48
|
+
};
|
|
49
|
+
readonly safariOpenLinksInBackground: {
|
|
50
|
+
readonly isBoolean: true;
|
|
51
|
+
};
|
|
52
|
+
readonly safariShowFullResponse: {
|
|
53
|
+
readonly isBoolean: true;
|
|
54
|
+
};
|
|
55
|
+
readonly keepKeyChains: {
|
|
56
|
+
readonly isBoolean: true;
|
|
57
|
+
};
|
|
58
|
+
readonly resetLocationService: {
|
|
59
|
+
readonly isBoolean: true;
|
|
60
|
+
};
|
|
61
|
+
readonly localizableStringsDir: {
|
|
62
|
+
readonly isString: true;
|
|
63
|
+
};
|
|
64
|
+
readonly processArguments: {};
|
|
65
|
+
readonly webviewConnectRetries: {
|
|
66
|
+
readonly isNumber: true;
|
|
67
|
+
};
|
|
68
|
+
readonly clearSystemFiles: {
|
|
69
|
+
readonly isBoolean: true;
|
|
70
|
+
};
|
|
71
|
+
readonly customSSLCert: {
|
|
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
|
+
};
|
|
158
|
+
readonly useNewWDA: {
|
|
159
|
+
readonly isBoolean: true;
|
|
160
|
+
};
|
|
161
|
+
readonly wdaLaunchTimeout: {
|
|
162
|
+
readonly isNumber: true;
|
|
163
|
+
};
|
|
164
|
+
readonly wdaConnectionTimeout: {
|
|
165
|
+
readonly isNumber: true;
|
|
166
|
+
};
|
|
167
|
+
readonly updatedWDABundleId: {
|
|
168
|
+
readonly isString: true;
|
|
169
|
+
};
|
|
170
|
+
readonly resetOnSessionStartOnly: {
|
|
171
|
+
readonly isBoolean: true;
|
|
172
|
+
};
|
|
173
|
+
readonly commandTimeouts: {};
|
|
174
|
+
readonly wdaStartupRetries: {
|
|
175
|
+
readonly isNumber: true;
|
|
176
|
+
};
|
|
177
|
+
readonly wdaStartupRetryInterval: {
|
|
178
|
+
readonly isNumber: true;
|
|
179
|
+
};
|
|
180
|
+
readonly prebuildWDA: {
|
|
181
|
+
readonly isBoolean: true;
|
|
182
|
+
};
|
|
183
|
+
readonly connectHardwareKeyboard: {
|
|
184
|
+
readonly isBoolean: true;
|
|
185
|
+
};
|
|
186
|
+
readonly forceTurnOnSoftwareKeyboardSimulator: {
|
|
187
|
+
readonly isBoolean: true;
|
|
188
|
+
};
|
|
189
|
+
readonly simulatorPasteboardAutomaticSync: {
|
|
190
|
+
readonly isString: true;
|
|
191
|
+
};
|
|
192
|
+
readonly simulatorDevicesSetPath: {
|
|
193
|
+
readonly isString: true;
|
|
194
|
+
};
|
|
195
|
+
readonly calendarAccessAuthorized: {
|
|
196
|
+
readonly isBoolean: true;
|
|
197
|
+
readonly deprecated: true;
|
|
198
|
+
};
|
|
199
|
+
readonly useSimpleBuildTest: {
|
|
200
|
+
readonly isBoolean: true;
|
|
201
|
+
readonly deprecated: true;
|
|
202
|
+
};
|
|
203
|
+
readonly waitForQuiescence: {
|
|
204
|
+
readonly isBoolean: true;
|
|
205
|
+
readonly deprecated: true;
|
|
206
|
+
};
|
|
207
|
+
readonly maxTypingFrequency: {
|
|
208
|
+
readonly isNumber: true;
|
|
209
|
+
};
|
|
210
|
+
readonly nativeTyping: {
|
|
211
|
+
readonly isBoolean: true;
|
|
212
|
+
};
|
|
213
|
+
readonly simpleIsVisibleCheck: {
|
|
214
|
+
readonly isBoolean: true;
|
|
215
|
+
};
|
|
216
|
+
readonly shouldUseSingletonTestManager: {
|
|
217
|
+
readonly isBoolean: true;
|
|
218
|
+
};
|
|
219
|
+
readonly isHeadless: {
|
|
220
|
+
readonly isBoolean: true;
|
|
221
|
+
};
|
|
222
|
+
readonly useXctestrunFile: {
|
|
223
|
+
readonly isBoolean: true;
|
|
224
|
+
};
|
|
225
|
+
readonly absoluteWebLocations: {
|
|
226
|
+
readonly isBoolean: true;
|
|
227
|
+
};
|
|
228
|
+
readonly simulatorWindowCenter: {
|
|
229
|
+
readonly isString: true;
|
|
230
|
+
};
|
|
231
|
+
readonly simulatorStartupTimeout: {
|
|
232
|
+
readonly isNumber: true;
|
|
233
|
+
};
|
|
234
|
+
readonly simulatorTracePointer: {
|
|
235
|
+
readonly isBoolean: true;
|
|
236
|
+
};
|
|
237
|
+
readonly useJSONSource: {
|
|
238
|
+
readonly isBoolean: true;
|
|
239
|
+
};
|
|
240
|
+
readonly enforceFreshSimulatorCreation: {
|
|
241
|
+
readonly isBoolean: true;
|
|
242
|
+
};
|
|
243
|
+
readonly shutdownOtherSimulators: {
|
|
244
|
+
readonly isBoolean: true;
|
|
245
|
+
};
|
|
246
|
+
readonly keychainsExcludePatterns: {
|
|
247
|
+
readonly isString: true;
|
|
248
|
+
};
|
|
249
|
+
readonly showSafariConsoleLog: {
|
|
250
|
+
readonly isBoolean: true;
|
|
251
|
+
};
|
|
252
|
+
readonly showSafariNetworkLog: {
|
|
253
|
+
readonly isBoolean: true;
|
|
254
|
+
};
|
|
255
|
+
readonly safariGarbageCollect: {
|
|
256
|
+
readonly isBoolean: true;
|
|
257
|
+
};
|
|
258
|
+
readonly safariGlobalPreferences: {
|
|
259
|
+
readonly isObject: true;
|
|
260
|
+
};
|
|
261
|
+
readonly safariLogAllCommunication: {
|
|
262
|
+
readonly isBoolean: true;
|
|
263
|
+
};
|
|
264
|
+
readonly safariLogAllCommunicationHexDump: {
|
|
265
|
+
readonly isBoolean: true;
|
|
266
|
+
};
|
|
267
|
+
readonly safariSocketChunkSize: {
|
|
268
|
+
readonly isNumber: true;
|
|
269
|
+
};
|
|
270
|
+
readonly mjpegServerPort: {
|
|
271
|
+
readonly isNumber: true;
|
|
272
|
+
};
|
|
273
|
+
readonly reduceMotion: {
|
|
274
|
+
readonly isBoolean: true;
|
|
275
|
+
};
|
|
276
|
+
readonly reduceTransparency: {
|
|
277
|
+
readonly isBoolean: true;
|
|
278
|
+
};
|
|
279
|
+
readonly autoFillPasswords: {
|
|
280
|
+
readonly isBoolean: true;
|
|
281
|
+
};
|
|
282
|
+
readonly mjpegScreenshotUrl: {
|
|
283
|
+
readonly isString: true;
|
|
284
|
+
};
|
|
285
|
+
readonly permissions: {
|
|
286
|
+
readonly isString: true;
|
|
287
|
+
};
|
|
288
|
+
readonly screenshotQuality: {
|
|
289
|
+
readonly isNumber: true;
|
|
290
|
+
};
|
|
291
|
+
readonly wdaEventloopIdleDelay: {
|
|
292
|
+
readonly isNumber: true;
|
|
293
|
+
};
|
|
294
|
+
readonly otherApps: {
|
|
295
|
+
readonly isString: true;
|
|
296
|
+
};
|
|
297
|
+
readonly includeSafariInWebviews: {
|
|
298
|
+
readonly isBoolean: true;
|
|
299
|
+
};
|
|
300
|
+
readonly additionalWebviewBundleIds: {};
|
|
301
|
+
readonly webviewConnectTimeout: {
|
|
302
|
+
readonly isNumber: true;
|
|
303
|
+
};
|
|
304
|
+
readonly webviewAtomWaitTimeout: {
|
|
305
|
+
readonly isNumber: true;
|
|
306
|
+
};
|
|
307
|
+
readonly showIOSLog: {
|
|
308
|
+
readonly isBoolean: true;
|
|
309
|
+
};
|
|
310
|
+
readonly iosSimulatorLogsPredicate: {
|
|
311
|
+
readonly isString: true;
|
|
312
|
+
};
|
|
313
|
+
readonly iosSyslogFile: {
|
|
314
|
+
readonly isString: true;
|
|
315
|
+
};
|
|
316
|
+
readonly simulatorLogLevel: {
|
|
317
|
+
readonly isString: true;
|
|
318
|
+
};
|
|
319
|
+
readonly appPushTimeout: {
|
|
320
|
+
readonly isNumber: true;
|
|
321
|
+
};
|
|
322
|
+
readonly nativeWebTapStrict: {
|
|
323
|
+
readonly isBoolean: true;
|
|
324
|
+
};
|
|
325
|
+
readonly safariWebInspectorMaxFrameLength: {
|
|
326
|
+
readonly isNumber: true;
|
|
327
|
+
};
|
|
328
|
+
readonly allowProvisioningDeviceRegistration: {
|
|
329
|
+
readonly isBoolean: true;
|
|
330
|
+
};
|
|
331
|
+
readonly waitForIdleTimeout: {
|
|
332
|
+
readonly isNumber: true;
|
|
333
|
+
};
|
|
334
|
+
readonly resultBundlePath: {
|
|
335
|
+
readonly isString: true;
|
|
336
|
+
};
|
|
337
|
+
readonly resultBundleVersion: {
|
|
338
|
+
readonly isNumber: true;
|
|
339
|
+
};
|
|
340
|
+
readonly safariIgnoreWebHostnames: {
|
|
341
|
+
readonly isString: true;
|
|
342
|
+
};
|
|
343
|
+
readonly disableAutomaticScreenshots: {
|
|
344
|
+
readonly isBoolean: true;
|
|
345
|
+
};
|
|
346
|
+
readonly shouldTerminateApp: {
|
|
347
|
+
readonly isBoolean: true;
|
|
348
|
+
};
|
|
349
|
+
readonly forceAppLaunch: {
|
|
350
|
+
readonly isBoolean: true;
|
|
351
|
+
};
|
|
352
|
+
readonly useNativeCachingStrategy: {
|
|
353
|
+
readonly isBoolean: true;
|
|
354
|
+
};
|
|
355
|
+
readonly appInstallStrategy: {
|
|
356
|
+
readonly deprecated: true;
|
|
357
|
+
readonly isString: true;
|
|
358
|
+
readonly inclusionCaseInsensitive: readonly ["serial", "parallel", "ios-deploy"];
|
|
359
|
+
};
|
|
360
|
+
readonly enforceAppInstall: {
|
|
361
|
+
readonly isBoolean: true;
|
|
362
|
+
};
|
|
363
|
+
readonly skipTriggerInputEventAfterSendkeys: {
|
|
364
|
+
readonly isBoolean: true;
|
|
365
|
+
};
|
|
366
|
+
readonly sendKeyStrategy: {
|
|
367
|
+
readonly isString: true;
|
|
368
|
+
};
|
|
369
|
+
readonly skipSyncUiDialogTranslation: {
|
|
370
|
+
readonly isBoolean: true;
|
|
371
|
+
};
|
|
372
|
+
readonly forceSimulatorSoftwareKeyboardPresence: {
|
|
373
|
+
readonly isBoolean: true;
|
|
374
|
+
};
|
|
375
|
+
readonly appLaunchStateTimeoutSec: {
|
|
376
|
+
readonly isNumber: true;
|
|
377
|
+
};
|
|
378
|
+
readonly appTimeZone: {
|
|
379
|
+
readonly isString: true;
|
|
380
|
+
};
|
|
381
|
+
readonly pageLoadStrategy: {
|
|
382
|
+
readonly isString: true;
|
|
383
|
+
readonly inclusionCaseInsensitive: readonly ["none", "eager", "normal"];
|
|
384
|
+
};
|
|
385
|
+
}, import("@appium/types").StringRecord, import("@appium/types").StringRecord, import("@appium/types").DefaultCreateSessionResult<{
|
|
386
|
+
readonly platformName: {
|
|
387
|
+
readonly presence: true;
|
|
388
|
+
readonly isString: true;
|
|
389
|
+
readonly inclusionCaseInsensitive: readonly ["iOS", "tvOS"];
|
|
390
|
+
};
|
|
391
|
+
readonly browserName: {
|
|
392
|
+
readonly isString: true;
|
|
393
|
+
};
|
|
394
|
+
readonly app: {
|
|
395
|
+
readonly isString: true;
|
|
396
|
+
};
|
|
397
|
+
readonly calendarFormat: {
|
|
398
|
+
readonly isString: true;
|
|
399
|
+
};
|
|
400
|
+
readonly bundleId: {
|
|
401
|
+
readonly isString: true;
|
|
402
|
+
};
|
|
403
|
+
readonly udid: {
|
|
404
|
+
readonly isString: true;
|
|
405
|
+
};
|
|
406
|
+
readonly autoAcceptAlerts: {
|
|
407
|
+
readonly isBoolean: true;
|
|
408
|
+
};
|
|
409
|
+
readonly autoDismissAlerts: {
|
|
410
|
+
readonly isBoolean: true;
|
|
411
|
+
};
|
|
412
|
+
readonly nativeWebTap: {
|
|
413
|
+
readonly isBoolean: true;
|
|
414
|
+
};
|
|
415
|
+
readonly safariInitialUrl: {
|
|
416
|
+
readonly isString: true;
|
|
417
|
+
};
|
|
418
|
+
readonly initialDeeplinkUrl: {
|
|
419
|
+
readonly isString: true;
|
|
420
|
+
};
|
|
421
|
+
readonly safariAllowPopups: {
|
|
422
|
+
readonly isBoolean: true;
|
|
423
|
+
};
|
|
424
|
+
readonly safariIgnoreFraudWarning: {
|
|
425
|
+
readonly isBoolean: true;
|
|
426
|
+
};
|
|
427
|
+
readonly safariOpenLinksInBackground: {
|
|
428
|
+
readonly isBoolean: true;
|
|
429
|
+
};
|
|
430
|
+
readonly safariShowFullResponse: {
|
|
431
|
+
readonly isBoolean: true;
|
|
432
|
+
};
|
|
433
|
+
readonly keepKeyChains: {
|
|
434
|
+
readonly isBoolean: true;
|
|
435
|
+
};
|
|
436
|
+
readonly resetLocationService: {
|
|
437
|
+
readonly isBoolean: true;
|
|
438
|
+
};
|
|
439
|
+
readonly localizableStringsDir: {
|
|
440
|
+
readonly isString: true;
|
|
441
|
+
};
|
|
442
|
+
readonly processArguments: {};
|
|
443
|
+
readonly webviewConnectRetries: {
|
|
444
|
+
readonly isNumber: true;
|
|
445
|
+
};
|
|
446
|
+
readonly clearSystemFiles: {
|
|
447
|
+
readonly isBoolean: true;
|
|
448
|
+
};
|
|
449
|
+
readonly customSSLCert: {
|
|
450
|
+
readonly isString: true;
|
|
451
|
+
};
|
|
452
|
+
readonly remoteDebugProxy: {
|
|
453
|
+
readonly isString: true;
|
|
454
|
+
};
|
|
455
|
+
readonly enablePerformanceLogging: {
|
|
456
|
+
readonly isBoolean: true;
|
|
457
|
+
};
|
|
458
|
+
readonly enableAsyncExecuteFromHttps: {
|
|
459
|
+
readonly isBoolean: true;
|
|
460
|
+
};
|
|
461
|
+
readonly fullContextList: {
|
|
462
|
+
readonly isBoolean: true;
|
|
463
|
+
};
|
|
464
|
+
readonly ignoreAboutBlankUrl: {
|
|
465
|
+
readonly isBoolean: true;
|
|
466
|
+
};
|
|
467
|
+
readonly skipLogCapture: {
|
|
468
|
+
readonly isBoolean: true;
|
|
469
|
+
};
|
|
470
|
+
readonly deviceName: {
|
|
471
|
+
readonly isString: true;
|
|
472
|
+
};
|
|
473
|
+
readonly showXcodeLog: {
|
|
474
|
+
readonly isBoolean: true;
|
|
475
|
+
};
|
|
476
|
+
readonly wdaLocalPort: {
|
|
477
|
+
readonly isNumber: true;
|
|
478
|
+
};
|
|
479
|
+
readonly wdaRemotePort: {
|
|
480
|
+
readonly isNumber: true;
|
|
481
|
+
};
|
|
482
|
+
readonly wdaBindingIP: {
|
|
483
|
+
readonly isString: true;
|
|
484
|
+
};
|
|
485
|
+
readonly wdaBaseUrl: {
|
|
486
|
+
readonly isString: true;
|
|
487
|
+
};
|
|
488
|
+
readonly iosInstallPause: {
|
|
489
|
+
readonly isNumber: true;
|
|
490
|
+
};
|
|
491
|
+
readonly xcodeConfigFile: {
|
|
492
|
+
readonly isString: true;
|
|
493
|
+
};
|
|
494
|
+
readonly xcodeOrgId: {
|
|
495
|
+
readonly isString: true;
|
|
496
|
+
};
|
|
497
|
+
readonly xcodeSigningId: {
|
|
498
|
+
readonly isString: true;
|
|
499
|
+
};
|
|
500
|
+
readonly keychainPath: {
|
|
501
|
+
readonly isString: true;
|
|
502
|
+
};
|
|
503
|
+
readonly keychainPassword: {
|
|
504
|
+
readonly isString: true;
|
|
505
|
+
};
|
|
506
|
+
readonly bootstrapPath: {
|
|
507
|
+
readonly isString: true;
|
|
508
|
+
};
|
|
509
|
+
readonly agentPath: {
|
|
510
|
+
readonly isString: true;
|
|
511
|
+
};
|
|
512
|
+
readonly scaleFactor: {
|
|
513
|
+
readonly isString: true;
|
|
514
|
+
};
|
|
515
|
+
readonly usePrebuiltWDA: {
|
|
516
|
+
readonly isBoolean: true;
|
|
517
|
+
};
|
|
518
|
+
readonly prebuiltWDAPath: {
|
|
519
|
+
readonly isString: true;
|
|
520
|
+
};
|
|
521
|
+
readonly usePreinstalledWDA: {
|
|
522
|
+
readonly isBoolean: true;
|
|
523
|
+
};
|
|
524
|
+
readonly updatedWDABundleIdSuffix: {
|
|
525
|
+
readonly isString: true;
|
|
526
|
+
};
|
|
527
|
+
readonly webDriverAgentUrl: {
|
|
528
|
+
readonly isString: true;
|
|
529
|
+
};
|
|
530
|
+
readonly derivedDataPath: {
|
|
531
|
+
readonly isString: true;
|
|
532
|
+
};
|
|
533
|
+
readonly launchWithIDB: {
|
|
534
|
+
readonly isBoolean: true;
|
|
535
|
+
};
|
|
536
|
+
readonly useNewWDA: {
|
|
537
|
+
readonly isBoolean: true;
|
|
538
|
+
};
|
|
539
|
+
readonly wdaLaunchTimeout: {
|
|
540
|
+
readonly isNumber: true;
|
|
541
|
+
};
|
|
542
|
+
readonly wdaConnectionTimeout: {
|
|
543
|
+
readonly isNumber: true;
|
|
544
|
+
};
|
|
545
|
+
readonly updatedWDABundleId: {
|
|
546
|
+
readonly isString: true;
|
|
547
|
+
};
|
|
548
|
+
readonly resetOnSessionStartOnly: {
|
|
549
|
+
readonly isBoolean: true;
|
|
550
|
+
};
|
|
551
|
+
readonly commandTimeouts: {};
|
|
552
|
+
readonly wdaStartupRetries: {
|
|
553
|
+
readonly isNumber: true;
|
|
554
|
+
};
|
|
555
|
+
readonly wdaStartupRetryInterval: {
|
|
556
|
+
readonly isNumber: true;
|
|
557
|
+
};
|
|
558
|
+
readonly prebuildWDA: {
|
|
559
|
+
readonly isBoolean: true;
|
|
560
|
+
};
|
|
561
|
+
readonly connectHardwareKeyboard: {
|
|
562
|
+
readonly isBoolean: true;
|
|
563
|
+
};
|
|
564
|
+
readonly forceTurnOnSoftwareKeyboardSimulator: {
|
|
565
|
+
readonly isBoolean: true;
|
|
566
|
+
};
|
|
567
|
+
readonly simulatorPasteboardAutomaticSync: {
|
|
568
|
+
readonly isString: true;
|
|
569
|
+
};
|
|
570
|
+
readonly simulatorDevicesSetPath: {
|
|
571
|
+
readonly isString: true;
|
|
572
|
+
};
|
|
573
|
+
readonly calendarAccessAuthorized: {
|
|
574
|
+
readonly isBoolean: true;
|
|
575
|
+
readonly deprecated: true;
|
|
576
|
+
};
|
|
577
|
+
readonly useSimpleBuildTest: {
|
|
578
|
+
readonly isBoolean: true;
|
|
579
|
+
readonly deprecated: true;
|
|
580
|
+
};
|
|
581
|
+
readonly waitForQuiescence: {
|
|
582
|
+
readonly isBoolean: true;
|
|
583
|
+
readonly deprecated: true;
|
|
584
|
+
};
|
|
585
|
+
readonly maxTypingFrequency: {
|
|
586
|
+
readonly isNumber: true;
|
|
587
|
+
};
|
|
588
|
+
readonly nativeTyping: {
|
|
589
|
+
readonly isBoolean: true;
|
|
590
|
+
};
|
|
591
|
+
readonly simpleIsVisibleCheck: {
|
|
592
|
+
readonly isBoolean: true;
|
|
593
|
+
};
|
|
594
|
+
readonly shouldUseSingletonTestManager: {
|
|
595
|
+
readonly isBoolean: true;
|
|
596
|
+
};
|
|
597
|
+
readonly isHeadless: {
|
|
598
|
+
readonly isBoolean: true;
|
|
599
|
+
};
|
|
600
|
+
readonly useXctestrunFile: {
|
|
601
|
+
readonly isBoolean: true;
|
|
602
|
+
};
|
|
603
|
+
readonly absoluteWebLocations: {
|
|
604
|
+
readonly isBoolean: true;
|
|
605
|
+
};
|
|
606
|
+
readonly simulatorWindowCenter: {
|
|
607
|
+
readonly isString: true;
|
|
608
|
+
};
|
|
609
|
+
readonly simulatorStartupTimeout: {
|
|
610
|
+
readonly isNumber: true;
|
|
611
|
+
};
|
|
612
|
+
readonly simulatorTracePointer: {
|
|
613
|
+
readonly isBoolean: true;
|
|
614
|
+
};
|
|
615
|
+
readonly useJSONSource: {
|
|
616
|
+
readonly isBoolean: true;
|
|
617
|
+
};
|
|
618
|
+
readonly enforceFreshSimulatorCreation: {
|
|
619
|
+
readonly isBoolean: true;
|
|
620
|
+
};
|
|
621
|
+
readonly shutdownOtherSimulators: {
|
|
622
|
+
readonly isBoolean: true;
|
|
623
|
+
};
|
|
624
|
+
readonly keychainsExcludePatterns: {
|
|
625
|
+
readonly isString: true;
|
|
626
|
+
};
|
|
627
|
+
readonly showSafariConsoleLog: {
|
|
628
|
+
readonly isBoolean: true;
|
|
629
|
+
};
|
|
630
|
+
readonly showSafariNetworkLog: {
|
|
631
|
+
readonly isBoolean: true;
|
|
632
|
+
};
|
|
633
|
+
readonly safariGarbageCollect: {
|
|
634
|
+
readonly isBoolean: true;
|
|
635
|
+
};
|
|
636
|
+
readonly safariGlobalPreferences: {
|
|
637
|
+
readonly isObject: true;
|
|
638
|
+
};
|
|
639
|
+
readonly safariLogAllCommunication: {
|
|
640
|
+
readonly isBoolean: true;
|
|
641
|
+
};
|
|
642
|
+
readonly safariLogAllCommunicationHexDump: {
|
|
643
|
+
readonly isBoolean: true;
|
|
644
|
+
};
|
|
645
|
+
readonly safariSocketChunkSize: {
|
|
646
|
+
readonly isNumber: true;
|
|
647
|
+
};
|
|
648
|
+
readonly mjpegServerPort: {
|
|
649
|
+
readonly isNumber: true;
|
|
650
|
+
};
|
|
651
|
+
readonly reduceMotion: {
|
|
652
|
+
readonly isBoolean: true;
|
|
653
|
+
};
|
|
654
|
+
readonly reduceTransparency: {
|
|
655
|
+
readonly isBoolean: true;
|
|
656
|
+
};
|
|
657
|
+
readonly autoFillPasswords: {
|
|
658
|
+
readonly isBoolean: true;
|
|
659
|
+
};
|
|
660
|
+
readonly mjpegScreenshotUrl: {
|
|
661
|
+
readonly isString: true;
|
|
662
|
+
};
|
|
663
|
+
readonly permissions: {
|
|
664
|
+
readonly isString: true;
|
|
665
|
+
};
|
|
666
|
+
readonly screenshotQuality: {
|
|
667
|
+
readonly isNumber: true;
|
|
668
|
+
};
|
|
669
|
+
readonly wdaEventloopIdleDelay: {
|
|
670
|
+
readonly isNumber: true;
|
|
671
|
+
};
|
|
672
|
+
readonly otherApps: {
|
|
673
|
+
readonly isString: true;
|
|
674
|
+
};
|
|
675
|
+
readonly includeSafariInWebviews: {
|
|
676
|
+
readonly isBoolean: true;
|
|
677
|
+
};
|
|
678
|
+
readonly additionalWebviewBundleIds: {};
|
|
679
|
+
readonly webviewConnectTimeout: {
|
|
680
|
+
readonly isNumber: true;
|
|
681
|
+
};
|
|
682
|
+
readonly webviewAtomWaitTimeout: {
|
|
683
|
+
readonly isNumber: true;
|
|
684
|
+
};
|
|
685
|
+
readonly showIOSLog: {
|
|
686
|
+
readonly isBoolean: true;
|
|
687
|
+
};
|
|
688
|
+
readonly iosSimulatorLogsPredicate: {
|
|
689
|
+
readonly isString: true;
|
|
690
|
+
};
|
|
691
|
+
readonly iosSyslogFile: {
|
|
692
|
+
readonly isString: true;
|
|
693
|
+
};
|
|
694
|
+
readonly simulatorLogLevel: {
|
|
695
|
+
readonly isString: true;
|
|
696
|
+
};
|
|
697
|
+
readonly appPushTimeout: {
|
|
698
|
+
readonly isNumber: true;
|
|
699
|
+
};
|
|
700
|
+
readonly nativeWebTapStrict: {
|
|
701
|
+
readonly isBoolean: true;
|
|
702
|
+
};
|
|
703
|
+
readonly safariWebInspectorMaxFrameLength: {
|
|
704
|
+
readonly isNumber: true;
|
|
705
|
+
};
|
|
706
|
+
readonly allowProvisioningDeviceRegistration: {
|
|
707
|
+
readonly isBoolean: true;
|
|
708
|
+
};
|
|
709
|
+
readonly waitForIdleTimeout: {
|
|
710
|
+
readonly isNumber: true;
|
|
711
|
+
};
|
|
712
|
+
readonly resultBundlePath: {
|
|
713
|
+
readonly isString: true;
|
|
714
|
+
};
|
|
715
|
+
readonly resultBundleVersion: {
|
|
716
|
+
readonly isNumber: true;
|
|
717
|
+
};
|
|
718
|
+
readonly safariIgnoreWebHostnames: {
|
|
719
|
+
readonly isString: true;
|
|
720
|
+
};
|
|
721
|
+
readonly disableAutomaticScreenshots: {
|
|
722
|
+
readonly isBoolean: true;
|
|
723
|
+
};
|
|
724
|
+
readonly shouldTerminateApp: {
|
|
725
|
+
readonly isBoolean: true;
|
|
726
|
+
};
|
|
727
|
+
readonly forceAppLaunch: {
|
|
728
|
+
readonly isBoolean: true;
|
|
729
|
+
};
|
|
730
|
+
readonly useNativeCachingStrategy: {
|
|
731
|
+
readonly isBoolean: true;
|
|
732
|
+
};
|
|
733
|
+
readonly appInstallStrategy: {
|
|
734
|
+
readonly deprecated: true;
|
|
735
|
+
readonly isString: true;
|
|
736
|
+
readonly inclusionCaseInsensitive: readonly ["serial", "parallel", "ios-deploy"];
|
|
737
|
+
};
|
|
738
|
+
readonly enforceAppInstall: {
|
|
739
|
+
readonly isBoolean: true;
|
|
740
|
+
};
|
|
741
|
+
readonly skipTriggerInputEventAfterSendkeys: {
|
|
742
|
+
readonly isBoolean: true;
|
|
743
|
+
};
|
|
744
|
+
readonly sendKeyStrategy: {
|
|
745
|
+
readonly isString: true;
|
|
746
|
+
};
|
|
747
|
+
readonly skipSyncUiDialogTranslation: {
|
|
748
|
+
readonly isBoolean: true;
|
|
749
|
+
};
|
|
750
|
+
readonly forceSimulatorSoftwareKeyboardPresence: {
|
|
751
|
+
readonly isBoolean: true;
|
|
752
|
+
};
|
|
753
|
+
readonly appLaunchStateTimeoutSec: {
|
|
754
|
+
readonly isNumber: true;
|
|
755
|
+
};
|
|
756
|
+
readonly appTimeZone: {
|
|
757
|
+
readonly isString: true;
|
|
758
|
+
};
|
|
759
|
+
readonly pageLoadStrategy: {
|
|
760
|
+
readonly isString: true;
|
|
761
|
+
readonly inclusionCaseInsensitive: readonly ["none", "eager", "normal"];
|
|
762
|
+
};
|
|
763
|
+
}>, void, import("@appium/types").StringRecord> implements ExternalDriver<XCUITestDriverConstraints, FullContext | string> {
|
|
764
|
+
static newMethodMap: {
|
|
765
|
+
readonly '/session/:sessionId/timeouts/async_script': {
|
|
766
|
+
readonly POST: {
|
|
767
|
+
readonly command: "asyncScriptTimeout";
|
|
768
|
+
readonly payloadParams: {
|
|
769
|
+
readonly required: readonly ["ms"];
|
|
770
|
+
};
|
|
771
|
+
readonly deprecated: true;
|
|
772
|
+
};
|
|
773
|
+
};
|
|
774
|
+
readonly '/session/:sessionId/timeouts/implicit_wait': {
|
|
775
|
+
readonly POST: {
|
|
776
|
+
readonly command: "implicitWait";
|
|
777
|
+
readonly payloadParams: {
|
|
778
|
+
readonly required: readonly ["ms"];
|
|
779
|
+
};
|
|
780
|
+
readonly deprecated: true;
|
|
781
|
+
};
|
|
782
|
+
};
|
|
783
|
+
readonly '/session/:sessionId/window/:windowhandle/size': {
|
|
784
|
+
readonly GET: {
|
|
785
|
+
readonly command: "getWindowSize";
|
|
786
|
+
readonly deprecated: true;
|
|
787
|
+
};
|
|
788
|
+
};
|
|
789
|
+
readonly '/session/:sessionId/element/:elementId/submit': {
|
|
790
|
+
readonly POST: {
|
|
791
|
+
readonly command: "submit";
|
|
792
|
+
readonly deprecated: true;
|
|
793
|
+
};
|
|
794
|
+
};
|
|
795
|
+
readonly '/session/:sessionId/keys': {
|
|
796
|
+
readonly POST: {
|
|
797
|
+
readonly command: "keys";
|
|
798
|
+
readonly payloadParams: {
|
|
799
|
+
readonly required: readonly ["value"];
|
|
800
|
+
};
|
|
801
|
+
readonly deprecated: true;
|
|
802
|
+
};
|
|
803
|
+
};
|
|
804
|
+
readonly '/session/:sessionId/element/:elementId/location': {
|
|
805
|
+
readonly GET: {
|
|
806
|
+
readonly command: "getLocation";
|
|
807
|
+
readonly deprecated: true;
|
|
808
|
+
};
|
|
809
|
+
};
|
|
810
|
+
readonly '/session/:sessionId/element/:elementId/location_in_view': {
|
|
811
|
+
readonly GET: {
|
|
812
|
+
readonly command: "getLocationInView";
|
|
813
|
+
readonly deprecated: true;
|
|
814
|
+
};
|
|
815
|
+
};
|
|
816
|
+
readonly '/session/:sessionId/element/:elementId/size': {
|
|
817
|
+
readonly GET: {
|
|
818
|
+
readonly command: "getSize";
|
|
819
|
+
readonly deprecated: true;
|
|
820
|
+
};
|
|
821
|
+
};
|
|
822
|
+
readonly '/session/:sessionId/appium/device/shake': {
|
|
823
|
+
readonly POST: {
|
|
824
|
+
readonly command: "mobileShake";
|
|
825
|
+
readonly deprecated: true;
|
|
826
|
+
};
|
|
827
|
+
};
|
|
828
|
+
readonly '/session/:sessionId/appium/device/lock': {
|
|
829
|
+
readonly POST: {
|
|
830
|
+
readonly command: "lock";
|
|
831
|
+
readonly payloadParams: {
|
|
832
|
+
readonly optional: readonly ["seconds"];
|
|
833
|
+
};
|
|
834
|
+
readonly deprecated: true;
|
|
835
|
+
};
|
|
836
|
+
};
|
|
837
|
+
readonly '/session/:sessionId/appium/device/unlock': {
|
|
838
|
+
readonly POST: {
|
|
839
|
+
readonly command: "unlock";
|
|
840
|
+
readonly deprecated: true;
|
|
841
|
+
};
|
|
842
|
+
};
|
|
843
|
+
readonly '/session/:sessionId/appium/device/is_locked': {
|
|
844
|
+
readonly POST: {
|
|
845
|
+
readonly command: "isLocked";
|
|
846
|
+
readonly deprecated: true;
|
|
847
|
+
};
|
|
848
|
+
};
|
|
849
|
+
readonly '/session/:sessionId/appium/start_recording_screen': {
|
|
850
|
+
readonly POST: {
|
|
851
|
+
readonly command: "startRecordingScreen";
|
|
852
|
+
readonly payloadParams: {
|
|
853
|
+
readonly optional: readonly ["options"];
|
|
854
|
+
};
|
|
855
|
+
};
|
|
856
|
+
};
|
|
857
|
+
readonly '/session/:sessionId/appium/stop_recording_screen': {
|
|
858
|
+
readonly POST: {
|
|
859
|
+
readonly command: "stopRecordingScreen";
|
|
860
|
+
readonly payloadParams: {
|
|
861
|
+
readonly optional: readonly ["options"];
|
|
862
|
+
};
|
|
863
|
+
};
|
|
864
|
+
};
|
|
865
|
+
readonly '/session/:sessionId/appium/device/app_state': {
|
|
866
|
+
readonly POST: {
|
|
867
|
+
readonly command: "queryAppState";
|
|
868
|
+
readonly payloadParams: {
|
|
869
|
+
readonly required: readonly [readonly ["appId"], readonly ["bundleId"]];
|
|
870
|
+
};
|
|
871
|
+
readonly deprecated: true;
|
|
872
|
+
};
|
|
873
|
+
};
|
|
874
|
+
readonly '/session/:sessionId/appium/simulator/touch_id': {
|
|
875
|
+
readonly POST: {
|
|
876
|
+
readonly command: "touchId";
|
|
877
|
+
readonly payloadParams: {
|
|
878
|
+
readonly required: readonly ["match"];
|
|
879
|
+
};
|
|
880
|
+
readonly deprecated: true;
|
|
881
|
+
};
|
|
882
|
+
};
|
|
883
|
+
readonly '/session/:sessionId/appium/simulator/toggle_touch_id_enrollment': {
|
|
884
|
+
readonly POST: {
|
|
885
|
+
readonly command: "toggleEnrollTouchId";
|
|
886
|
+
readonly payloadParams: {
|
|
887
|
+
readonly optional: readonly ["enabled"];
|
|
888
|
+
};
|
|
889
|
+
readonly deprecated: true;
|
|
890
|
+
};
|
|
891
|
+
};
|
|
892
|
+
readonly '/session/:sessionId/appium/app/launch': {
|
|
893
|
+
readonly POST: {
|
|
894
|
+
readonly command: "launchApp";
|
|
895
|
+
readonly deprecated: true;
|
|
896
|
+
};
|
|
897
|
+
};
|
|
898
|
+
readonly '/session/:sessionId/appium/app/close': {
|
|
899
|
+
readonly POST: {
|
|
900
|
+
readonly command: "closeApp";
|
|
901
|
+
readonly deprecated: true;
|
|
902
|
+
};
|
|
903
|
+
};
|
|
904
|
+
readonly '/session/:sessionId/appium/app/reset': {
|
|
905
|
+
readonly POST: {
|
|
906
|
+
readonly command: "reset";
|
|
907
|
+
readonly deprecated: true;
|
|
908
|
+
};
|
|
909
|
+
};
|
|
910
|
+
readonly '/session/:sessionId/appium/app/background': {
|
|
911
|
+
readonly POST: {
|
|
912
|
+
readonly command: "background";
|
|
913
|
+
readonly payloadParams: {
|
|
914
|
+
readonly required: readonly ["seconds"];
|
|
915
|
+
};
|
|
916
|
+
readonly deprecated: true;
|
|
917
|
+
};
|
|
918
|
+
};
|
|
919
|
+
readonly '/session/:sessionId/appium/app/strings': {
|
|
920
|
+
readonly POST: {
|
|
921
|
+
readonly command: "getStrings";
|
|
922
|
+
readonly payloadParams: {
|
|
923
|
+
readonly optional: readonly ["language", "stringFile"];
|
|
924
|
+
};
|
|
925
|
+
readonly deprecated: true;
|
|
926
|
+
};
|
|
927
|
+
};
|
|
928
|
+
readonly '/session/:sessionId/appium/element/:elementId/value': {
|
|
929
|
+
readonly POST: {
|
|
930
|
+
readonly command: "setValueImmediate";
|
|
931
|
+
readonly payloadParams: {
|
|
932
|
+
readonly required: readonly ["text"];
|
|
933
|
+
};
|
|
934
|
+
readonly deprecated: true;
|
|
935
|
+
};
|
|
936
|
+
};
|
|
937
|
+
readonly '/session/:sessionId/appium/receive_async_response': {
|
|
938
|
+
readonly POST: {
|
|
939
|
+
readonly command: "receiveAsyncResponse";
|
|
940
|
+
readonly payloadParams: {
|
|
941
|
+
readonly required: readonly ["response"];
|
|
942
|
+
};
|
|
943
|
+
readonly deprecated: true;
|
|
944
|
+
};
|
|
945
|
+
};
|
|
946
|
+
readonly '/session/:sessionId/appium/device/get_clipboard': {
|
|
947
|
+
readonly POST: {
|
|
948
|
+
readonly command: "getClipboard";
|
|
949
|
+
readonly payloadParams: {
|
|
950
|
+
readonly optional: readonly ["contentType"];
|
|
951
|
+
};
|
|
952
|
+
readonly deprecated: true;
|
|
953
|
+
};
|
|
954
|
+
};
|
|
955
|
+
readonly '/session/:sessionId/appium/device/set_clipboard': {
|
|
956
|
+
readonly POST: {
|
|
957
|
+
readonly command: "setClipboard";
|
|
958
|
+
readonly payloadParams: {
|
|
959
|
+
readonly required: readonly ["content"];
|
|
960
|
+
readonly optional: readonly ["contentType", "label"];
|
|
961
|
+
};
|
|
962
|
+
readonly deprecated: true;
|
|
963
|
+
};
|
|
964
|
+
};
|
|
965
|
+
readonly '/session/:sessionId/log': {
|
|
966
|
+
readonly POST: {
|
|
967
|
+
readonly command: "getLog";
|
|
968
|
+
readonly payloadParams: {
|
|
969
|
+
readonly required: readonly ["type"];
|
|
970
|
+
};
|
|
971
|
+
};
|
|
972
|
+
};
|
|
973
|
+
readonly '/session/:sessionId/log/types': {
|
|
974
|
+
readonly GET: {
|
|
975
|
+
readonly command: "getLogTypes";
|
|
976
|
+
};
|
|
977
|
+
};
|
|
978
|
+
readonly '/session/:sessionId/location': {
|
|
979
|
+
readonly GET: {
|
|
980
|
+
readonly command: "getGeoLocation";
|
|
981
|
+
readonly deprecated: true;
|
|
982
|
+
};
|
|
983
|
+
readonly POST: {
|
|
984
|
+
readonly command: "setGeoLocation";
|
|
985
|
+
readonly payloadParams: {
|
|
986
|
+
readonly required: readonly ["location"];
|
|
987
|
+
};
|
|
988
|
+
readonly deprecated: true;
|
|
989
|
+
};
|
|
990
|
+
};
|
|
991
|
+
};
|
|
992
|
+
static executeMethodMap: {
|
|
993
|
+
readonly 'mobile: tap': {
|
|
994
|
+
readonly command: "mobileTap";
|
|
995
|
+
readonly params: {
|
|
996
|
+
readonly required: readonly ["x", "y"];
|
|
997
|
+
readonly optional: readonly ["elementId"];
|
|
998
|
+
};
|
|
999
|
+
};
|
|
1000
|
+
readonly 'mobile: scroll': {
|
|
1001
|
+
readonly command: "mobileScroll";
|
|
1002
|
+
readonly params: {
|
|
1003
|
+
readonly optional: readonly ["name", "direction", "predicateString", "toVisible", "distance", "elementId"];
|
|
1004
|
+
};
|
|
1005
|
+
};
|
|
1006
|
+
readonly 'mobile: selectPickerWheelValue': {
|
|
1007
|
+
readonly command: "mobileSelectPickerWheelValue";
|
|
1008
|
+
readonly params: {
|
|
1009
|
+
readonly required: readonly ["elementId", "order"];
|
|
1010
|
+
readonly optional: readonly ["offset"];
|
|
1011
|
+
};
|
|
1012
|
+
};
|
|
1013
|
+
readonly 'mobile: sendMemoryWarning': {
|
|
1014
|
+
readonly command: "mobileSendMemoryWarning";
|
|
1015
|
+
readonly params: {
|
|
1016
|
+
readonly required: readonly ["bundleId"];
|
|
1017
|
+
};
|
|
1018
|
+
};
|
|
1019
|
+
readonly 'mobile: swipe': {
|
|
1020
|
+
readonly command: "mobileSwipe";
|
|
1021
|
+
readonly params: {
|
|
1022
|
+
readonly required: readonly ["direction"];
|
|
1023
|
+
readonly optional: readonly ["velocity", "elementId"];
|
|
1024
|
+
};
|
|
1025
|
+
};
|
|
1026
|
+
readonly 'mobile: pinch': {
|
|
1027
|
+
readonly command: "mobilePinch";
|
|
1028
|
+
readonly params: {
|
|
1029
|
+
readonly required: readonly ["scale", "velocity"];
|
|
1030
|
+
readonly optional: readonly ["elementId"];
|
|
1031
|
+
};
|
|
1032
|
+
};
|
|
1033
|
+
readonly 'mobile: doubleTap': {
|
|
1034
|
+
readonly command: "mobileDoubleTap";
|
|
1035
|
+
readonly params: {
|
|
1036
|
+
readonly optional: readonly ["elementId", "x", "y"];
|
|
1037
|
+
};
|
|
1038
|
+
};
|
|
1039
|
+
readonly 'mobile: twoFingerTap': {
|
|
1040
|
+
readonly command: "mobileTwoFingerTap";
|
|
1041
|
+
readonly params: {
|
|
1042
|
+
readonly optional: readonly ["elementId"];
|
|
1043
|
+
};
|
|
1044
|
+
};
|
|
1045
|
+
readonly 'mobile: tapWithNumberOfTaps': {
|
|
1046
|
+
readonly command: "mobileTapWithNumberOfTaps";
|
|
1047
|
+
readonly params: {
|
|
1048
|
+
readonly optional: readonly ["numberOfTouches", "numberOfTaps", "elementId"];
|
|
1049
|
+
};
|
|
1050
|
+
};
|
|
1051
|
+
readonly 'mobile: touchAndHold': {
|
|
1052
|
+
readonly command: "mobileTouchAndHold";
|
|
1053
|
+
readonly params: {
|
|
1054
|
+
readonly required: readonly ["duration"];
|
|
1055
|
+
readonly optional: readonly ["x", "y", "elementId"];
|
|
1056
|
+
};
|
|
1057
|
+
};
|
|
1058
|
+
readonly 'mobile: dragFromToForDuration': {
|
|
1059
|
+
readonly command: "mobileDragFromToForDuration";
|
|
1060
|
+
readonly params: {
|
|
1061
|
+
readonly required: readonly ["duration", "fromX", "fromY", "toX", "toY"];
|
|
1062
|
+
readonly optional: readonly ["elementId"];
|
|
1063
|
+
};
|
|
1064
|
+
};
|
|
1065
|
+
readonly 'mobile: rotateElement': {
|
|
1066
|
+
readonly command: "mobileRotateElement";
|
|
1067
|
+
readonly params: {
|
|
1068
|
+
readonly required: readonly ["rotation", "velocity"];
|
|
1069
|
+
readonly optional: readonly ["elementId"];
|
|
1070
|
+
};
|
|
1071
|
+
};
|
|
1072
|
+
readonly 'mobile: dragFromToWithVelocity': {
|
|
1073
|
+
readonly command: "mobileDragFromToWithVelocity";
|
|
1074
|
+
readonly params: {
|
|
1075
|
+
readonly required: readonly ["pressDuration", "holdDuration", "velocity"];
|
|
1076
|
+
readonly optional: readonly ["fromElementId", "toElementId", "fromX", "fromY", "toX", "toY"];
|
|
1077
|
+
};
|
|
1078
|
+
};
|
|
1079
|
+
readonly 'mobile: forcePress': {
|
|
1080
|
+
readonly command: "mobileForcePress";
|
|
1081
|
+
readonly params: {
|
|
1082
|
+
readonly optional: readonly ["x", "y", "duration", "pressure", "elementId"];
|
|
1083
|
+
};
|
|
1084
|
+
};
|
|
1085
|
+
readonly 'mobile: scrollToElement': {
|
|
1086
|
+
readonly command: "mobileScrollToElement";
|
|
1087
|
+
readonly params: {
|
|
1088
|
+
readonly required: readonly ["elementId"];
|
|
1089
|
+
};
|
|
1090
|
+
};
|
|
1091
|
+
readonly 'mobile: alert': {
|
|
1092
|
+
readonly command: "mobileHandleAlert";
|
|
1093
|
+
readonly params: {
|
|
1094
|
+
readonly required: readonly ["action"];
|
|
1095
|
+
readonly optional: readonly ["buttonLabel"];
|
|
1096
|
+
};
|
|
1097
|
+
};
|
|
1098
|
+
readonly 'mobile: setPasteboard': {
|
|
1099
|
+
readonly command: "mobileSetPasteboard";
|
|
1100
|
+
readonly params: {
|
|
1101
|
+
readonly required: readonly ["content"];
|
|
1102
|
+
readonly optional: readonly ["encoding"];
|
|
1103
|
+
};
|
|
1104
|
+
};
|
|
1105
|
+
readonly 'mobile: getPasteboard': {
|
|
1106
|
+
readonly command: "mobileGetPasteboard";
|
|
1107
|
+
readonly params: {
|
|
1108
|
+
readonly optional: readonly ["encoding"];
|
|
1109
|
+
};
|
|
1110
|
+
};
|
|
1111
|
+
readonly 'mobile: source': {
|
|
1112
|
+
readonly command: "mobileGetSource";
|
|
1113
|
+
readonly params: {
|
|
1114
|
+
readonly optional: readonly ["format", "excludedAttributes"];
|
|
1115
|
+
};
|
|
1116
|
+
};
|
|
1117
|
+
readonly 'mobile: getAppStrings': {
|
|
1118
|
+
readonly command: "getStrings";
|
|
1119
|
+
readonly params: {
|
|
1120
|
+
readonly optional: readonly ["language", "stringFile"];
|
|
1121
|
+
};
|
|
1122
|
+
};
|
|
1123
|
+
readonly 'mobile: getContexts': {
|
|
1124
|
+
readonly command: "mobileGetContexts";
|
|
1125
|
+
readonly params: {
|
|
1126
|
+
readonly optional: readonly ["waitForWebviewMs"];
|
|
1127
|
+
};
|
|
1128
|
+
};
|
|
1129
|
+
readonly 'mobile: installApp': {
|
|
1130
|
+
readonly command: "mobileInstallApp";
|
|
1131
|
+
readonly params: {
|
|
1132
|
+
readonly required: readonly ["app"];
|
|
1133
|
+
readonly optional: readonly ["timeoutMs", "checkVersion"];
|
|
1134
|
+
};
|
|
1135
|
+
};
|
|
1136
|
+
readonly 'mobile: isAppInstalled': {
|
|
1137
|
+
readonly command: "mobileIsAppInstalled";
|
|
1138
|
+
readonly params: {
|
|
1139
|
+
readonly required: readonly ["bundleId"];
|
|
1140
|
+
};
|
|
1141
|
+
};
|
|
1142
|
+
readonly 'mobile: removeApp': {
|
|
1143
|
+
readonly command: "mobileRemoveApp";
|
|
1144
|
+
readonly params: {
|
|
1145
|
+
readonly required: readonly ["bundleId"];
|
|
1146
|
+
};
|
|
1147
|
+
};
|
|
1148
|
+
readonly 'mobile: launchApp': {
|
|
1149
|
+
readonly command: "mobileLaunchApp";
|
|
1150
|
+
readonly params: {
|
|
1151
|
+
readonly required: readonly ["bundleId"];
|
|
1152
|
+
readonly optional: readonly ["arguments", "environment"];
|
|
1153
|
+
};
|
|
1154
|
+
};
|
|
1155
|
+
readonly 'mobile: terminateApp': {
|
|
1156
|
+
readonly command: "mobileTerminateApp";
|
|
1157
|
+
readonly params: {
|
|
1158
|
+
readonly required: readonly ["bundleId"];
|
|
1159
|
+
};
|
|
1160
|
+
};
|
|
1161
|
+
readonly 'mobile: killApp': {
|
|
1162
|
+
readonly command: "mobileKillApp";
|
|
1163
|
+
readonly params: {
|
|
1164
|
+
readonly required: readonly ["bundleId"];
|
|
1165
|
+
};
|
|
1166
|
+
};
|
|
1167
|
+
readonly 'mobile: queryAppState': {
|
|
1168
|
+
readonly command: "mobileQueryAppState";
|
|
1169
|
+
readonly params: {
|
|
1170
|
+
readonly required: readonly ["bundleId"];
|
|
1171
|
+
};
|
|
1172
|
+
};
|
|
1173
|
+
readonly 'mobile: activateApp': {
|
|
1174
|
+
readonly command: "mobileActivateApp";
|
|
1175
|
+
readonly params: {
|
|
1176
|
+
readonly required: readonly ["bundleId"];
|
|
1177
|
+
};
|
|
1178
|
+
};
|
|
1179
|
+
readonly 'mobile: listApps': {
|
|
1180
|
+
readonly command: "mobileListApps";
|
|
1181
|
+
readonly params: {
|
|
1182
|
+
readonly optional: readonly ["applicationType"];
|
|
1183
|
+
};
|
|
1184
|
+
};
|
|
1185
|
+
readonly 'mobile: clearApp': {
|
|
1186
|
+
readonly command: "mobileClearApp";
|
|
1187
|
+
readonly params: {
|
|
1188
|
+
readonly required: readonly ["bundleId"];
|
|
1189
|
+
};
|
|
1190
|
+
};
|
|
1191
|
+
readonly 'mobile: viewportScreenshot': {
|
|
1192
|
+
readonly command: "getViewportScreenshot";
|
|
1193
|
+
};
|
|
1194
|
+
readonly 'mobile: viewportRect': {
|
|
1195
|
+
readonly command: "getViewportRect";
|
|
1196
|
+
};
|
|
1197
|
+
readonly 'mobile: startPerfRecord': {
|
|
1198
|
+
readonly command: "mobileStartPerfRecord";
|
|
1199
|
+
readonly params: {
|
|
1200
|
+
readonly optional: readonly ["timeout", "profileName", "pid"];
|
|
1201
|
+
};
|
|
1202
|
+
};
|
|
1203
|
+
readonly 'mobile: stopPerfRecord': {
|
|
1204
|
+
readonly command: "mobileStopPerfRecord";
|
|
1205
|
+
readonly params: {
|
|
1206
|
+
readonly optional: readonly ["remotePath", "user", "pass", "method", "profileName", "headers", "fileFieldName", "formFields"];
|
|
1207
|
+
};
|
|
1208
|
+
};
|
|
1209
|
+
readonly 'mobile: installCertificate': {
|
|
1210
|
+
readonly command: "mobileInstallCertificate";
|
|
1211
|
+
readonly params: {
|
|
1212
|
+
readonly required: readonly ["content"];
|
|
1213
|
+
readonly optional: readonly ["commonName", "isRoot"];
|
|
1214
|
+
};
|
|
1215
|
+
};
|
|
1216
|
+
readonly 'mobile: removeCertificate': {
|
|
1217
|
+
readonly command: "mobileRemoveCertificate";
|
|
1218
|
+
readonly params: {
|
|
1219
|
+
readonly required: readonly ["name"];
|
|
1220
|
+
};
|
|
1221
|
+
};
|
|
1222
|
+
readonly 'mobile: listCertificates': {
|
|
1223
|
+
readonly command: "mobileListCertificates";
|
|
1224
|
+
};
|
|
1225
|
+
readonly 'mobile: startLogsBroadcast': {
|
|
1226
|
+
readonly command: "mobileStartLogsBroadcast";
|
|
1227
|
+
};
|
|
1228
|
+
readonly 'mobile: stopLogsBroadcast': {
|
|
1229
|
+
readonly command: "mobileStopLogsBroadcast";
|
|
1230
|
+
};
|
|
1231
|
+
readonly 'mobile: batteryInfo': {
|
|
1232
|
+
readonly command: "mobileGetBatteryInfo";
|
|
1233
|
+
};
|
|
1234
|
+
readonly 'mobile: performAccessibilityAudit': {
|
|
1235
|
+
readonly command: "mobilePerformAccessibilityAudit";
|
|
1236
|
+
readonly params: {
|
|
1237
|
+
readonly optional: readonly ["auditTypes"];
|
|
1238
|
+
};
|
|
1239
|
+
};
|
|
1240
|
+
readonly 'mobile: deviceInfo': {
|
|
1241
|
+
readonly command: "mobileGetDeviceInfo";
|
|
1242
|
+
};
|
|
1243
|
+
readonly 'mobile: getDeviceTime': {
|
|
1244
|
+
readonly command: "mobileGetDeviceTime";
|
|
1245
|
+
readonly params: {
|
|
1246
|
+
readonly optional: readonly ["format"];
|
|
1247
|
+
};
|
|
1248
|
+
};
|
|
1249
|
+
readonly 'mobile: activeAppInfo': {
|
|
1250
|
+
readonly command: "mobileGetActiveAppInfo";
|
|
1251
|
+
};
|
|
1252
|
+
readonly 'mobile: deviceScreenInfo': {
|
|
1253
|
+
readonly command: "getScreenInfo";
|
|
1254
|
+
};
|
|
1255
|
+
readonly 'mobile: pressButton': {
|
|
1256
|
+
readonly command: "mobilePressButton";
|
|
1257
|
+
readonly params: {
|
|
1258
|
+
readonly required: readonly ["name"];
|
|
1259
|
+
readonly optional: readonly ["durationSeconds"];
|
|
1260
|
+
};
|
|
1261
|
+
};
|
|
1262
|
+
readonly 'mobile: enrollBiometric': {
|
|
1263
|
+
readonly command: "mobileEnrollBiometric";
|
|
1264
|
+
readonly params: {
|
|
1265
|
+
readonly optional: readonly ["isEnabled"];
|
|
1266
|
+
};
|
|
1267
|
+
};
|
|
1268
|
+
readonly 'mobile: sendBiometricMatch': {
|
|
1269
|
+
readonly command: "mobileSendBiometricMatch";
|
|
1270
|
+
readonly params: {
|
|
1271
|
+
readonly optional: readonly ["type", "match"];
|
|
1272
|
+
};
|
|
1273
|
+
};
|
|
1274
|
+
readonly 'mobile: isBiometricEnrolled': {
|
|
1275
|
+
readonly command: "mobileIsBiometricEnrolled";
|
|
1276
|
+
};
|
|
1277
|
+
readonly 'mobile: clearKeychains': {
|
|
1278
|
+
readonly command: "mobileClearKeychains";
|
|
1279
|
+
};
|
|
1280
|
+
readonly 'mobile: getPermission': {
|
|
1281
|
+
readonly command: "mobileGetPermission";
|
|
1282
|
+
readonly params: {
|
|
1283
|
+
readonly required: readonly ["bundleId", "service"];
|
|
1284
|
+
};
|
|
1285
|
+
};
|
|
1286
|
+
readonly 'mobile: setPermission': {
|
|
1287
|
+
readonly command: "mobileSetPermissions";
|
|
1288
|
+
readonly params: {
|
|
1289
|
+
readonly required: readonly ["access", "bundleId"];
|
|
1290
|
+
};
|
|
1291
|
+
};
|
|
1292
|
+
readonly 'mobile: resetPermission': {
|
|
1293
|
+
readonly command: "mobileResetPermission";
|
|
1294
|
+
readonly params: {
|
|
1295
|
+
readonly required: readonly ["service"];
|
|
1296
|
+
};
|
|
1297
|
+
};
|
|
1298
|
+
readonly 'mobile: getAppearance': {
|
|
1299
|
+
readonly command: "mobileGetAppearance";
|
|
1300
|
+
};
|
|
1301
|
+
readonly 'mobile: setAppearance': {
|
|
1302
|
+
readonly command: "mobileSetAppearance";
|
|
1303
|
+
readonly params: {
|
|
1304
|
+
readonly required: readonly ["style"];
|
|
1305
|
+
};
|
|
1306
|
+
};
|
|
1307
|
+
readonly 'mobile: getIncreaseContrast': {
|
|
1308
|
+
readonly command: "mobileGetIncreaseContrast";
|
|
1309
|
+
};
|
|
1310
|
+
readonly 'mobile: setIncreaseContrast': {
|
|
1311
|
+
readonly command: "mobileSetIncreaseContrast";
|
|
1312
|
+
readonly params: {
|
|
1313
|
+
readonly required: readonly ["increaseContrast"];
|
|
1314
|
+
};
|
|
1315
|
+
};
|
|
1316
|
+
readonly 'mobile: contentSize': {
|
|
1317
|
+
readonly command: "mobileGetContentSize";
|
|
1318
|
+
};
|
|
1319
|
+
readonly 'mobile: setContentSize': {
|
|
1320
|
+
readonly command: "mobileSetContentSize";
|
|
1321
|
+
readonly params: {
|
|
1322
|
+
readonly required: readonly ["size"];
|
|
1323
|
+
};
|
|
1324
|
+
};
|
|
1325
|
+
readonly 'mobile: getClipboard': {
|
|
1326
|
+
readonly command: "getClipboard";
|
|
1327
|
+
readonly params: {
|
|
1328
|
+
readonly optional: readonly ["contentType"];
|
|
1329
|
+
};
|
|
1330
|
+
};
|
|
1331
|
+
readonly 'mobile: setClipboard': {
|
|
1332
|
+
readonly command: "setClipboard";
|
|
1333
|
+
readonly params: {
|
|
1334
|
+
readonly required: readonly ["content"];
|
|
1335
|
+
readonly optional: readonly ["contentType"];
|
|
1336
|
+
};
|
|
1337
|
+
};
|
|
1338
|
+
readonly 'mobile: siriCommand': {
|
|
1339
|
+
readonly command: "mobileSiriCommand";
|
|
1340
|
+
readonly params: {
|
|
1341
|
+
readonly required: readonly ["text"];
|
|
1342
|
+
};
|
|
1343
|
+
};
|
|
1344
|
+
readonly 'mobile: pushFile': {
|
|
1345
|
+
readonly command: "mobilePushFile";
|
|
1346
|
+
readonly params: {
|
|
1347
|
+
readonly required: readonly ["remotePath", "payload"];
|
|
1348
|
+
};
|
|
1349
|
+
};
|
|
1350
|
+
readonly 'mobile: pullFile': {
|
|
1351
|
+
readonly command: "mobilePullFile";
|
|
1352
|
+
readonly params: {
|
|
1353
|
+
readonly required: readonly ["remotePath"];
|
|
1354
|
+
};
|
|
1355
|
+
};
|
|
1356
|
+
readonly 'mobile: pullFolder': {
|
|
1357
|
+
readonly command: "mobilePullFolder";
|
|
1358
|
+
readonly params: {
|
|
1359
|
+
readonly required: readonly ["remotePath"];
|
|
1360
|
+
};
|
|
1361
|
+
};
|
|
1362
|
+
readonly 'mobile: deleteFile': {
|
|
1363
|
+
readonly command: "mobileDeleteFile";
|
|
1364
|
+
readonly params: {
|
|
1365
|
+
readonly required: readonly ["remotePath"];
|
|
1366
|
+
};
|
|
1367
|
+
};
|
|
1368
|
+
readonly 'mobile: deleteFolder': {
|
|
1369
|
+
readonly command: "mobileDeleteFolder";
|
|
1370
|
+
readonly params: {
|
|
1371
|
+
readonly required: readonly ["remotePath"];
|
|
1372
|
+
};
|
|
1373
|
+
};
|
|
1374
|
+
readonly 'mobile: runXCTest': {
|
|
1375
|
+
readonly command: "mobileRunXCTest";
|
|
1376
|
+
readonly params: {
|
|
1377
|
+
readonly required: readonly ["testRunnerBundleId", "appUnderTestBundleId", "xctestBundleId"];
|
|
1378
|
+
readonly optional: readonly ["args", "testType", "env", "timeout"];
|
|
1379
|
+
};
|
|
1380
|
+
};
|
|
1381
|
+
readonly 'mobile: installXCTestBundle': {
|
|
1382
|
+
readonly command: "mobileInstallXCTestBundle";
|
|
1383
|
+
readonly params: {
|
|
1384
|
+
readonly required: readonly ["xctestApp"];
|
|
1385
|
+
};
|
|
1386
|
+
};
|
|
1387
|
+
readonly 'mobile: listXCTestBundles': {
|
|
1388
|
+
readonly command: "mobileListXCTestBundles";
|
|
1389
|
+
};
|
|
1390
|
+
readonly 'mobile: listXCTestsInTestBundle': {
|
|
1391
|
+
readonly command: "mobileListXCTestsInTestBundle";
|
|
1392
|
+
readonly params: {
|
|
1393
|
+
readonly required: readonly ["bundle"];
|
|
1394
|
+
};
|
|
1395
|
+
};
|
|
1396
|
+
readonly 'mobile: startXCTestScreenRecording': {
|
|
1397
|
+
readonly command: "mobileStartXctestScreenRecording";
|
|
1398
|
+
readonly params: {
|
|
1399
|
+
readonly optional: readonly ["fps", "codec"];
|
|
1400
|
+
};
|
|
1401
|
+
};
|
|
1402
|
+
readonly 'mobile: getXCTestScreenRecordingInfo': {
|
|
1403
|
+
readonly command: "mobileGetXctestScreenRecordingInfo";
|
|
1404
|
+
};
|
|
1405
|
+
readonly 'mobile: stopXCTestScreenRecording': {
|
|
1406
|
+
readonly command: "mobileStopXctestScreenRecording";
|
|
1407
|
+
readonly params: {
|
|
1408
|
+
readonly optional: readonly ["remotePath", "user", "pass", "headers", "fileFieldName", "formFields", "method"];
|
|
1409
|
+
};
|
|
1410
|
+
};
|
|
1411
|
+
readonly 'mobile: pushNotification': {
|
|
1412
|
+
readonly command: "mobilePushNotification";
|
|
1413
|
+
readonly params: {
|
|
1414
|
+
readonly required: readonly ["bundleId", "payload"];
|
|
1415
|
+
};
|
|
1416
|
+
};
|
|
1417
|
+
readonly 'mobile: expectNotification': {
|
|
1418
|
+
readonly command: "mobileExpectNotification";
|
|
1419
|
+
readonly params: {
|
|
1420
|
+
readonly required: readonly ["name"];
|
|
1421
|
+
readonly optional: readonly ["type", "timeoutSeconds"];
|
|
1422
|
+
};
|
|
1423
|
+
};
|
|
1424
|
+
readonly 'mobile: performIoHidEvent': {
|
|
1425
|
+
readonly command: "mobilePerformIoHidEvent";
|
|
1426
|
+
readonly params: {
|
|
1427
|
+
readonly required: readonly ["page", "usage", "durationSeconds"];
|
|
1428
|
+
};
|
|
1429
|
+
};
|
|
1430
|
+
readonly 'mobile: configureLocalization': {
|
|
1431
|
+
readonly command: "mobileConfigureLocalization";
|
|
1432
|
+
readonly params: {
|
|
1433
|
+
readonly optional: readonly ["keyboard", "language", "locale"];
|
|
1434
|
+
};
|
|
1435
|
+
};
|
|
1436
|
+
readonly 'mobile: resetLocationService': {
|
|
1437
|
+
readonly command: "mobileResetLocationService";
|
|
1438
|
+
};
|
|
1439
|
+
readonly 'mobile: startPcap': {
|
|
1440
|
+
readonly command: "mobileStartPcap";
|
|
1441
|
+
readonly params: {
|
|
1442
|
+
readonly optional: readonly ["timeLimitSec", "forceRestart"];
|
|
1443
|
+
};
|
|
1444
|
+
};
|
|
1445
|
+
readonly 'mobile: stopPcap': {
|
|
1446
|
+
readonly command: "mobileStopPcap";
|
|
1447
|
+
};
|
|
1448
|
+
readonly 'mobile: listConditionInducers': {
|
|
1449
|
+
readonly command: "listConditionInducers";
|
|
1450
|
+
};
|
|
1451
|
+
readonly 'mobile: enableConditionInducer': {
|
|
1452
|
+
readonly command: "enableConditionInducer";
|
|
1453
|
+
readonly params: {
|
|
1454
|
+
readonly required: readonly ["conditionID", "profileID"];
|
|
1455
|
+
};
|
|
1456
|
+
};
|
|
1457
|
+
readonly 'mobile: disableConditionInducer': {
|
|
1458
|
+
readonly command: "disableConditionInducer";
|
|
1459
|
+
};
|
|
1460
|
+
readonly 'mobile: updateSafariPreferences': {
|
|
1461
|
+
readonly command: "mobileUpdateSafariPreferences";
|
|
1462
|
+
readonly params: {
|
|
1463
|
+
readonly required: readonly ["preferences"];
|
|
1464
|
+
};
|
|
1465
|
+
};
|
|
1466
|
+
readonly 'mobile: calibrateWebToRealCoordinatesTranslation': {
|
|
1467
|
+
readonly command: "mobileCalibrateWebToRealCoordinatesTranslation";
|
|
1468
|
+
};
|
|
1469
|
+
readonly 'mobile: keys': {
|
|
1470
|
+
readonly command: "mobileKeys";
|
|
1471
|
+
readonly params: {
|
|
1472
|
+
readonly required: readonly ["keys"];
|
|
1473
|
+
readonly optional: readonly ["elementId"];
|
|
1474
|
+
};
|
|
1475
|
+
};
|
|
1476
|
+
readonly 'mobile: deepLink': {
|
|
1477
|
+
readonly command: "mobileDeepLink";
|
|
1478
|
+
readonly params: {
|
|
1479
|
+
readonly required: readonly ["url"];
|
|
1480
|
+
readonly optional: readonly ["bundleId"];
|
|
1481
|
+
};
|
|
1482
|
+
};
|
|
1483
|
+
readonly 'mobile: setSimulatedLocation': {
|
|
1484
|
+
readonly command: "mobileSetSimulatedLocation";
|
|
1485
|
+
readonly params: {
|
|
1486
|
+
readonly required: readonly ["latitude", "longitude"];
|
|
1487
|
+
};
|
|
1488
|
+
};
|
|
1489
|
+
readonly 'mobile: getSimulatedLocation': {
|
|
1490
|
+
readonly command: "mobileGetSimulatedLocation";
|
|
1491
|
+
};
|
|
1492
|
+
readonly 'mobile: resetSimulatedLocation': {
|
|
1493
|
+
readonly command: "mobileResetSimulatedLocation";
|
|
1494
|
+
};
|
|
1495
|
+
readonly 'mobile: shake': {
|
|
1496
|
+
readonly command: "mobileShake";
|
|
1497
|
+
};
|
|
1498
|
+
readonly 'mobile: startAudioRecording': {
|
|
1499
|
+
readonly command: "startAudioRecording";
|
|
1500
|
+
readonly params: {
|
|
1501
|
+
readonly required: readonly ["audioInput"];
|
|
1502
|
+
readonly optional: readonly ["timeLimit", "audioCodec", "audioBitrate", "audioChannels", "audioRate", "forceRestart"];
|
|
1503
|
+
};
|
|
1504
|
+
};
|
|
1505
|
+
readonly 'mobile: stopAudioRecording': {
|
|
1506
|
+
readonly command: "stopAudioRecording";
|
|
1507
|
+
};
|
|
1508
|
+
readonly 'mobile: hideKeyboard': {
|
|
1509
|
+
readonly command: "mobileHideKeyboard";
|
|
1510
|
+
readonly params: {
|
|
1511
|
+
readonly optional: readonly ["keys"];
|
|
1512
|
+
};
|
|
1513
|
+
};
|
|
1514
|
+
readonly 'mobile: isKeyboardShown': {
|
|
1515
|
+
readonly command: "isKeyboardShown";
|
|
1516
|
+
};
|
|
1517
|
+
readonly 'mobile: lock': {
|
|
1518
|
+
readonly command: "lock";
|
|
1519
|
+
readonly params: {
|
|
1520
|
+
readonly optional: readonly ["seconds"];
|
|
1521
|
+
};
|
|
1522
|
+
};
|
|
1523
|
+
readonly 'mobile: unlock': {
|
|
1524
|
+
readonly command: "unlock";
|
|
1525
|
+
};
|
|
1526
|
+
readonly 'mobile: isLocked': {
|
|
1527
|
+
readonly command: "isLocked";
|
|
1528
|
+
};
|
|
1529
|
+
readonly 'mobile: backgroundApp': {
|
|
1530
|
+
readonly command: "background";
|
|
1531
|
+
readonly params: {
|
|
1532
|
+
readonly optional: readonly ["seconds"];
|
|
1533
|
+
};
|
|
1534
|
+
};
|
|
1535
|
+
readonly 'mobile: simctl': {
|
|
1536
|
+
readonly command: "mobileSimctl";
|
|
1537
|
+
readonly params: {
|
|
1538
|
+
readonly required: readonly ["command"];
|
|
1539
|
+
readonly optional: readonly ["args", "timeout"];
|
|
1540
|
+
};
|
|
1541
|
+
};
|
|
1542
|
+
};
|
|
1543
|
+
/**
|
|
1544
|
+
*
|
|
1545
|
+
* @param {XCUITestDriverOpts} opts
|
|
1546
|
+
* @param {boolean} shouldValidateCaps
|
|
1547
|
+
*/
|
|
1548
|
+
constructor(opts?: XCUITestDriverOpts, shouldValidateCaps?: boolean);
|
|
1549
|
+
/** @type {string|null|undefined} */
|
|
1550
|
+
curWindowHandle: string | null | undefined;
|
|
1551
|
+
/**
|
|
1552
|
+
* @type {boolean|undefined}
|
|
1553
|
+
*/
|
|
1554
|
+
selectingNewPage: boolean | undefined;
|
|
1555
|
+
/** @type {string[]} */
|
|
1556
|
+
contexts: string[];
|
|
1557
|
+
/** @type {string|null} */
|
|
1558
|
+
curContext: string | null;
|
|
1559
|
+
/** @type {string[]} */
|
|
1560
|
+
curWebFrames: string[];
|
|
1561
|
+
/** @type {import('./types').CalibrationData|null} */
|
|
1562
|
+
webviewCalibrationResult: import("./types").CalibrationData | null;
|
|
1563
|
+
/** @type {import('./types').AsyncPromise|undefined} */
|
|
1564
|
+
asyncPromise: import("./types").AsyncPromise | undefined;
|
|
1565
|
+
/** @type {number|undefined} */
|
|
1566
|
+
asyncWaitMs: number | undefined;
|
|
1567
|
+
/** @type {((logRecord: {message: string}) => void)|null} */
|
|
1568
|
+
_syslogWebsocketListener: ((logRecord: {
|
|
1569
|
+
message: string;
|
|
1570
|
+
}) => void) | null;
|
|
1571
|
+
/** @type {import('./commands/performance').PerfRecorder[]} */
|
|
1572
|
+
_perfRecorders: import("./commands/performance").PerfRecorder[];
|
|
1573
|
+
/** @type {LRUCache} */
|
|
1574
|
+
webElementsCache: LRUCache<any, any, any>;
|
|
1575
|
+
/**
|
|
1576
|
+
* @type {any|null}
|
|
1577
|
+
* @privateRemarks needs types
|
|
1578
|
+
**/
|
|
1579
|
+
_conditionInducerService: any | null;
|
|
1580
|
+
/** @type {boolean|undefined} */
|
|
1581
|
+
_isSafariIphone: boolean | undefined;
|
|
1582
|
+
/** @type {boolean|undefined} */
|
|
1583
|
+
_isSafariNotched: boolean | undefined;
|
|
1584
|
+
/** @type {import('./commands/types').WaitingAtoms} */
|
|
1585
|
+
_waitingAtoms: import("./commands/types").WaitingAtoms;
|
|
1586
|
+
/** @type {import('./types').LifecycleData} */
|
|
1587
|
+
lifecycleData: import("./types").LifecycleData;
|
|
1588
|
+
/** @type {import('./commands/record-audio').AudioRecorder|null} */
|
|
1589
|
+
_audioRecorder: import("./commands/record-audio").AudioRecorder | null;
|
|
1590
|
+
/** @type {XcodeVersion|undefined} */
|
|
1591
|
+
xcodeVersion: XcodeVersion | undefined;
|
|
1592
|
+
/** @type {import('./commands/pcap').TrafficCapture|null} */
|
|
1593
|
+
_trafficCapture: import("./commands/pcap").TrafficCapture | null;
|
|
1594
|
+
/** @type {import('./commands/recordscreen').ScreenRecorder|null} */
|
|
1595
|
+
_recentScreenRecorder: import("./commands/recordscreen").ScreenRecorder | null;
|
|
1596
|
+
/** @type {Simulator|RealDevice} */
|
|
1597
|
+
_device: Simulator | RealDevice;
|
|
1598
|
+
/** @type {string|null} */
|
|
1599
|
+
_iosSdkVersion: string | null;
|
|
1600
|
+
/** @type {WebDriverAgent} */
|
|
1601
|
+
wda: WebDriverAgent;
|
|
1602
|
+
/** @type {import('appium-remote-debugger').RemoteDebugger|null} */
|
|
1603
|
+
remote: import("appium-remote-debugger").RemoteDebugger | null;
|
|
1604
|
+
/** @type {DriverLogs} */
|
|
1605
|
+
logs: DriverLogs;
|
|
1606
|
+
/** @type {import('./commands/types').LogListener|undefined} */
|
|
1607
|
+
_bidiServerLogListener: import("./commands/types").LogListener | undefined;
|
|
1608
|
+
settings: DeviceSettings<{
|
|
1609
|
+
nativeWebTap: boolean;
|
|
1610
|
+
nativeWebTapStrict: boolean;
|
|
1611
|
+
useJSONSource: boolean;
|
|
1612
|
+
webScreenshotMode: string;
|
|
1613
|
+
shouldUseCompactResponses: boolean;
|
|
1614
|
+
elementResponseAttributes: string;
|
|
1615
|
+
mjpegServerScreenshotQuality: number;
|
|
1616
|
+
mjpegServerFramerate: number;
|
|
1617
|
+
screenshotQuality: number;
|
|
1618
|
+
mjpegScalingFactor: number;
|
|
1619
|
+
reduceMotion: null;
|
|
1620
|
+
pageSourceExcludedAttributes: string;
|
|
1621
|
+
}>;
|
|
1622
|
+
appInfosCache: AppInfosCache;
|
|
1623
|
+
doesSupportBidi: boolean;
|
|
1624
|
+
onSettingsUpdate(key: any, value: any): Promise<unknown>;
|
|
1625
|
+
resetIos(): void;
|
|
1626
|
+
jwpProxyActive: boolean | undefined;
|
|
1627
|
+
proxyReqRes: any;
|
|
1628
|
+
safari: boolean | undefined;
|
|
1629
|
+
cachedWdaStatus: any;
|
|
1630
|
+
_currentUrl: any;
|
|
1631
|
+
pageLoadMs: number | undefined;
|
|
1632
|
+
landscapeWebCoordsOffset: number | undefined;
|
|
1633
|
+
getStatus(): Promise<{
|
|
1634
|
+
ready: boolean;
|
|
1635
|
+
message: string;
|
|
1636
|
+
build: {
|
|
1637
|
+
built: string;
|
|
1638
|
+
version: any;
|
|
1639
|
+
};
|
|
1640
|
+
}>;
|
|
1641
|
+
mergeCliArgsToOpts(): boolean;
|
|
1642
|
+
/**
|
|
1643
|
+
* @returns {Simulator|RealDevice}
|
|
1644
|
+
*/
|
|
1645
|
+
get device(): Simulator | RealDevice;
|
|
1646
|
+
isXcodebuildNeeded(): boolean;
|
|
1647
|
+
createSession(w3cCaps1: any, w3cCaps2: any, w3cCaps3: any, driverData: any): Promise<[string, import("@appium/types").DriverCaps<{
|
|
1648
|
+
readonly platformName: {
|
|
1649
|
+
readonly presence: true;
|
|
1650
|
+
readonly isString: true;
|
|
1651
|
+
readonly inclusionCaseInsensitive: readonly ["iOS", "tvOS"];
|
|
1652
|
+
};
|
|
1653
|
+
readonly browserName: {
|
|
1654
|
+
readonly isString: true;
|
|
1655
|
+
};
|
|
1656
|
+
readonly app: {
|
|
1657
|
+
readonly isString: true;
|
|
1658
|
+
};
|
|
1659
|
+
readonly calendarFormat: {
|
|
1660
|
+
readonly isString: true;
|
|
1661
|
+
};
|
|
1662
|
+
readonly bundleId: {
|
|
1663
|
+
readonly isString: true;
|
|
1664
|
+
};
|
|
1665
|
+
readonly udid: {
|
|
1666
|
+
readonly isString: true;
|
|
1667
|
+
};
|
|
1668
|
+
readonly autoAcceptAlerts: {
|
|
1669
|
+
readonly isBoolean: true;
|
|
1670
|
+
};
|
|
1671
|
+
readonly autoDismissAlerts: {
|
|
1672
|
+
readonly isBoolean: true;
|
|
1673
|
+
};
|
|
1674
|
+
readonly nativeWebTap: {
|
|
1675
|
+
readonly isBoolean: true;
|
|
1676
|
+
};
|
|
1677
|
+
readonly safariInitialUrl: {
|
|
1678
|
+
readonly isString: true;
|
|
1679
|
+
};
|
|
1680
|
+
readonly initialDeeplinkUrl: {
|
|
1681
|
+
readonly isString: true;
|
|
1682
|
+
};
|
|
1683
|
+
readonly safariAllowPopups: {
|
|
1684
|
+
readonly isBoolean: true;
|
|
1685
|
+
};
|
|
1686
|
+
readonly safariIgnoreFraudWarning: {
|
|
1687
|
+
readonly isBoolean: true;
|
|
1688
|
+
};
|
|
1689
|
+
readonly safariOpenLinksInBackground: {
|
|
1690
|
+
readonly isBoolean: true;
|
|
1691
|
+
};
|
|
1692
|
+
readonly safariShowFullResponse: {
|
|
1693
|
+
readonly isBoolean: true;
|
|
1694
|
+
};
|
|
1695
|
+
readonly keepKeyChains: {
|
|
1696
|
+
readonly isBoolean: true;
|
|
1697
|
+
};
|
|
1698
|
+
readonly resetLocationService: {
|
|
1699
|
+
readonly isBoolean: true;
|
|
1700
|
+
};
|
|
1701
|
+
readonly localizableStringsDir: {
|
|
1702
|
+
readonly isString: true;
|
|
1703
|
+
};
|
|
1704
|
+
readonly processArguments: {};
|
|
1705
|
+
readonly webviewConnectRetries: {
|
|
1706
|
+
readonly isNumber: true;
|
|
1707
|
+
};
|
|
1708
|
+
readonly clearSystemFiles: {
|
|
1709
|
+
readonly isBoolean: true;
|
|
1710
|
+
};
|
|
1711
|
+
readonly customSSLCert: {
|
|
1712
|
+
readonly isString: true;
|
|
1713
|
+
};
|
|
1714
|
+
readonly remoteDebugProxy: {
|
|
1715
|
+
readonly isString: true;
|
|
1716
|
+
};
|
|
1717
|
+
readonly enablePerformanceLogging: {
|
|
1718
|
+
readonly isBoolean: true;
|
|
1719
|
+
};
|
|
1720
|
+
readonly enableAsyncExecuteFromHttps: {
|
|
1721
|
+
readonly isBoolean: true;
|
|
1722
|
+
};
|
|
1723
|
+
readonly fullContextList: {
|
|
1724
|
+
readonly isBoolean: true;
|
|
1725
|
+
};
|
|
1726
|
+
readonly ignoreAboutBlankUrl: {
|
|
1727
|
+
readonly isBoolean: true;
|
|
1728
|
+
};
|
|
1729
|
+
readonly skipLogCapture: {
|
|
1730
|
+
readonly isBoolean: true;
|
|
1731
|
+
};
|
|
1732
|
+
readonly deviceName: {
|
|
1733
|
+
readonly isString: true;
|
|
1734
|
+
};
|
|
1735
|
+
readonly showXcodeLog: {
|
|
1736
|
+
readonly isBoolean: true;
|
|
1737
|
+
};
|
|
1738
|
+
readonly wdaLocalPort: {
|
|
1739
|
+
readonly isNumber: true;
|
|
1740
|
+
};
|
|
1741
|
+
readonly wdaRemotePort: {
|
|
1742
|
+
readonly isNumber: true;
|
|
1743
|
+
};
|
|
1744
|
+
readonly wdaBindingIP: {
|
|
1745
|
+
readonly isString: true;
|
|
1746
|
+
};
|
|
1747
|
+
readonly wdaBaseUrl: {
|
|
1748
|
+
readonly isString: true;
|
|
1749
|
+
};
|
|
1750
|
+
readonly iosInstallPause: {
|
|
1751
|
+
readonly isNumber: true;
|
|
1752
|
+
};
|
|
1753
|
+
readonly xcodeConfigFile: {
|
|
1754
|
+
readonly isString: true;
|
|
1755
|
+
};
|
|
1756
|
+
readonly xcodeOrgId: {
|
|
1757
|
+
readonly isString: true;
|
|
1758
|
+
};
|
|
1759
|
+
readonly xcodeSigningId: {
|
|
1760
|
+
readonly isString: true;
|
|
1761
|
+
};
|
|
1762
|
+
readonly keychainPath: {
|
|
1763
|
+
readonly isString: true;
|
|
1764
|
+
};
|
|
1765
|
+
readonly keychainPassword: {
|
|
1766
|
+
readonly isString: true;
|
|
1767
|
+
};
|
|
1768
|
+
readonly bootstrapPath: {
|
|
1769
|
+
readonly isString: true;
|
|
1770
|
+
};
|
|
1771
|
+
readonly agentPath: {
|
|
1772
|
+
readonly isString: true;
|
|
1773
|
+
};
|
|
1774
|
+
readonly scaleFactor: {
|
|
1775
|
+
readonly isString: true;
|
|
1776
|
+
};
|
|
1777
|
+
readonly usePrebuiltWDA: {
|
|
1778
|
+
readonly isBoolean: true;
|
|
1779
|
+
};
|
|
1780
|
+
readonly prebuiltWDAPath: {
|
|
1781
|
+
readonly isString: true;
|
|
1782
|
+
};
|
|
1783
|
+
readonly usePreinstalledWDA: {
|
|
1784
|
+
readonly isBoolean: true;
|
|
1785
|
+
};
|
|
1786
|
+
readonly updatedWDABundleIdSuffix: {
|
|
1787
|
+
readonly isString: true;
|
|
1788
|
+
};
|
|
1789
|
+
readonly webDriverAgentUrl: {
|
|
1790
|
+
readonly isString: true;
|
|
1791
|
+
};
|
|
1792
|
+
readonly derivedDataPath: {
|
|
1793
|
+
readonly isString: true;
|
|
1794
|
+
};
|
|
1795
|
+
readonly launchWithIDB: {
|
|
1796
|
+
readonly isBoolean: true;
|
|
1797
|
+
};
|
|
1798
|
+
readonly useNewWDA: {
|
|
1799
|
+
readonly isBoolean: true;
|
|
1800
|
+
};
|
|
1801
|
+
readonly wdaLaunchTimeout: {
|
|
1802
|
+
readonly isNumber: true;
|
|
1803
|
+
};
|
|
1804
|
+
readonly wdaConnectionTimeout: {
|
|
1805
|
+
readonly isNumber: true;
|
|
1806
|
+
};
|
|
1807
|
+
readonly updatedWDABundleId: {
|
|
1808
|
+
readonly isString: true;
|
|
1809
|
+
};
|
|
1810
|
+
readonly resetOnSessionStartOnly: {
|
|
1811
|
+
readonly isBoolean: true;
|
|
1812
|
+
};
|
|
1813
|
+
readonly commandTimeouts: {};
|
|
1814
|
+
readonly wdaStartupRetries: {
|
|
1815
|
+
readonly isNumber: true;
|
|
1816
|
+
};
|
|
1817
|
+
readonly wdaStartupRetryInterval: {
|
|
1818
|
+
readonly isNumber: true;
|
|
1819
|
+
};
|
|
1820
|
+
readonly prebuildWDA: {
|
|
1821
|
+
readonly isBoolean: true;
|
|
1822
|
+
};
|
|
1823
|
+
readonly connectHardwareKeyboard: {
|
|
1824
|
+
readonly isBoolean: true;
|
|
1825
|
+
};
|
|
1826
|
+
readonly forceTurnOnSoftwareKeyboardSimulator: {
|
|
1827
|
+
readonly isBoolean: true;
|
|
1828
|
+
};
|
|
1829
|
+
readonly simulatorPasteboardAutomaticSync: {
|
|
1830
|
+
readonly isString: true;
|
|
1831
|
+
};
|
|
1832
|
+
readonly simulatorDevicesSetPath: {
|
|
1833
|
+
readonly isString: true;
|
|
1834
|
+
};
|
|
1835
|
+
readonly calendarAccessAuthorized: {
|
|
1836
|
+
readonly isBoolean: true;
|
|
1837
|
+
readonly deprecated: true;
|
|
1838
|
+
};
|
|
1839
|
+
readonly useSimpleBuildTest: {
|
|
1840
|
+
readonly isBoolean: true;
|
|
1841
|
+
readonly deprecated: true;
|
|
1842
|
+
};
|
|
1843
|
+
readonly waitForQuiescence: {
|
|
1844
|
+
readonly isBoolean: true;
|
|
1845
|
+
readonly deprecated: true;
|
|
1846
|
+
};
|
|
1847
|
+
readonly maxTypingFrequency: {
|
|
1848
|
+
readonly isNumber: true;
|
|
1849
|
+
};
|
|
1850
|
+
readonly nativeTyping: {
|
|
1851
|
+
readonly isBoolean: true;
|
|
1852
|
+
};
|
|
1853
|
+
readonly simpleIsVisibleCheck: {
|
|
1854
|
+
readonly isBoolean: true;
|
|
1855
|
+
};
|
|
1856
|
+
readonly shouldUseSingletonTestManager: {
|
|
1857
|
+
readonly isBoolean: true;
|
|
1858
|
+
};
|
|
1859
|
+
readonly isHeadless: {
|
|
1860
|
+
readonly isBoolean: true;
|
|
1861
|
+
};
|
|
1862
|
+
readonly useXctestrunFile: {
|
|
1863
|
+
readonly isBoolean: true;
|
|
1864
|
+
};
|
|
1865
|
+
readonly absoluteWebLocations: {
|
|
1866
|
+
readonly isBoolean: true;
|
|
1867
|
+
};
|
|
1868
|
+
readonly simulatorWindowCenter: {
|
|
1869
|
+
readonly isString: true;
|
|
1870
|
+
};
|
|
1871
|
+
readonly simulatorStartupTimeout: {
|
|
1872
|
+
readonly isNumber: true;
|
|
1873
|
+
};
|
|
1874
|
+
readonly simulatorTracePointer: {
|
|
1875
|
+
readonly isBoolean: true;
|
|
1876
|
+
};
|
|
1877
|
+
readonly useJSONSource: {
|
|
1878
|
+
readonly isBoolean: true;
|
|
1879
|
+
};
|
|
1880
|
+
readonly enforceFreshSimulatorCreation: {
|
|
1881
|
+
readonly isBoolean: true;
|
|
1882
|
+
};
|
|
1883
|
+
readonly shutdownOtherSimulators: {
|
|
1884
|
+
readonly isBoolean: true;
|
|
1885
|
+
};
|
|
1886
|
+
readonly keychainsExcludePatterns: {
|
|
1887
|
+
readonly isString: true;
|
|
1888
|
+
};
|
|
1889
|
+
readonly showSafariConsoleLog: {
|
|
1890
|
+
readonly isBoolean: true;
|
|
1891
|
+
};
|
|
1892
|
+
readonly showSafariNetworkLog: {
|
|
1893
|
+
readonly isBoolean: true;
|
|
1894
|
+
};
|
|
1895
|
+
readonly safariGarbageCollect: {
|
|
1896
|
+
readonly isBoolean: true;
|
|
1897
|
+
};
|
|
1898
|
+
readonly safariGlobalPreferences: {
|
|
1899
|
+
readonly isObject: true;
|
|
1900
|
+
};
|
|
1901
|
+
readonly safariLogAllCommunication: {
|
|
1902
|
+
readonly isBoolean: true;
|
|
1903
|
+
};
|
|
1904
|
+
readonly safariLogAllCommunicationHexDump: {
|
|
1905
|
+
readonly isBoolean: true;
|
|
1906
|
+
};
|
|
1907
|
+
readonly safariSocketChunkSize: {
|
|
1908
|
+
readonly isNumber: true;
|
|
1909
|
+
};
|
|
1910
|
+
readonly mjpegServerPort: {
|
|
1911
|
+
readonly isNumber: true;
|
|
1912
|
+
};
|
|
1913
|
+
readonly reduceMotion: {
|
|
1914
|
+
readonly isBoolean: true;
|
|
1915
|
+
};
|
|
1916
|
+
readonly reduceTransparency: {
|
|
1917
|
+
readonly isBoolean: true;
|
|
1918
|
+
};
|
|
1919
|
+
readonly autoFillPasswords: {
|
|
1920
|
+
readonly isBoolean: true;
|
|
1921
|
+
};
|
|
1922
|
+
readonly mjpegScreenshotUrl: {
|
|
1923
|
+
readonly isString: true;
|
|
1924
|
+
};
|
|
1925
|
+
readonly permissions: {
|
|
1926
|
+
readonly isString: true;
|
|
1927
|
+
};
|
|
1928
|
+
readonly screenshotQuality: {
|
|
1929
|
+
readonly isNumber: true;
|
|
1930
|
+
};
|
|
1931
|
+
readonly wdaEventloopIdleDelay: {
|
|
1932
|
+
readonly isNumber: true;
|
|
1933
|
+
};
|
|
1934
|
+
readonly otherApps: {
|
|
1935
|
+
readonly isString: true;
|
|
1936
|
+
};
|
|
1937
|
+
readonly includeSafariInWebviews: {
|
|
1938
|
+
readonly isBoolean: true;
|
|
1939
|
+
};
|
|
1940
|
+
readonly additionalWebviewBundleIds: {};
|
|
1941
|
+
readonly webviewConnectTimeout: {
|
|
1942
|
+
readonly isNumber: true;
|
|
1943
|
+
};
|
|
1944
|
+
readonly webviewAtomWaitTimeout: {
|
|
1945
|
+
readonly isNumber: true;
|
|
1946
|
+
};
|
|
1947
|
+
readonly showIOSLog: {
|
|
1948
|
+
readonly isBoolean: true;
|
|
1949
|
+
};
|
|
1950
|
+
readonly iosSimulatorLogsPredicate: {
|
|
1951
|
+
readonly isString: true;
|
|
1952
|
+
};
|
|
1953
|
+
readonly iosSyslogFile: {
|
|
1954
|
+
readonly isString: true;
|
|
1955
|
+
};
|
|
1956
|
+
readonly simulatorLogLevel: {
|
|
1957
|
+
readonly isString: true;
|
|
1958
|
+
};
|
|
1959
|
+
readonly appPushTimeout: {
|
|
1960
|
+
readonly isNumber: true;
|
|
1961
|
+
};
|
|
1962
|
+
readonly nativeWebTapStrict: {
|
|
1963
|
+
readonly isBoolean: true;
|
|
1964
|
+
};
|
|
1965
|
+
readonly safariWebInspectorMaxFrameLength: {
|
|
1966
|
+
readonly isNumber: true;
|
|
1967
|
+
};
|
|
1968
|
+
readonly allowProvisioningDeviceRegistration: {
|
|
1969
|
+
readonly isBoolean: true;
|
|
1970
|
+
};
|
|
1971
|
+
readonly waitForIdleTimeout: {
|
|
1972
|
+
readonly isNumber: true;
|
|
1973
|
+
};
|
|
1974
|
+
readonly resultBundlePath: {
|
|
1975
|
+
readonly isString: true;
|
|
1976
|
+
};
|
|
1977
|
+
readonly resultBundleVersion: {
|
|
1978
|
+
readonly isNumber: true;
|
|
1979
|
+
};
|
|
1980
|
+
readonly safariIgnoreWebHostnames: {
|
|
1981
|
+
readonly isString: true;
|
|
1982
|
+
};
|
|
1983
|
+
readonly disableAutomaticScreenshots: {
|
|
1984
|
+
readonly isBoolean: true;
|
|
1985
|
+
};
|
|
1986
|
+
readonly shouldTerminateApp: {
|
|
1987
|
+
readonly isBoolean: true;
|
|
1988
|
+
};
|
|
1989
|
+
readonly forceAppLaunch: {
|
|
1990
|
+
readonly isBoolean: true;
|
|
1991
|
+
};
|
|
1992
|
+
readonly useNativeCachingStrategy: {
|
|
1993
|
+
readonly isBoolean: true;
|
|
1994
|
+
};
|
|
1995
|
+
readonly appInstallStrategy: {
|
|
1996
|
+
readonly deprecated: true;
|
|
1997
|
+
readonly isString: true;
|
|
1998
|
+
readonly inclusionCaseInsensitive: readonly ["serial", "parallel", "ios-deploy"];
|
|
1999
|
+
};
|
|
2000
|
+
readonly enforceAppInstall: {
|
|
2001
|
+
readonly isBoolean: true;
|
|
2002
|
+
};
|
|
2003
|
+
readonly skipTriggerInputEventAfterSendkeys: {
|
|
2004
|
+
readonly isBoolean: true;
|
|
2005
|
+
};
|
|
2006
|
+
readonly sendKeyStrategy: {
|
|
2007
|
+
readonly isString: true;
|
|
2008
|
+
};
|
|
2009
|
+
readonly skipSyncUiDialogTranslation: {
|
|
2010
|
+
readonly isBoolean: true;
|
|
2011
|
+
};
|
|
2012
|
+
readonly forceSimulatorSoftwareKeyboardPresence: {
|
|
2013
|
+
readonly isBoolean: true;
|
|
2014
|
+
};
|
|
2015
|
+
readonly appLaunchStateTimeoutSec: {
|
|
2016
|
+
readonly isNumber: true;
|
|
2017
|
+
};
|
|
2018
|
+
readonly appTimeZone: {
|
|
2019
|
+
readonly isString: true;
|
|
2020
|
+
};
|
|
2021
|
+
readonly pageLoadStrategy: {
|
|
2022
|
+
readonly isString: true;
|
|
2023
|
+
readonly inclusionCaseInsensitive: readonly ["none", "eager", "normal"];
|
|
2024
|
+
};
|
|
2025
|
+
}>]>;
|
|
2026
|
+
/**
|
|
2027
|
+
* Handles MJPEG server-related capabilities
|
|
2028
|
+
* @returns {Promise<void>}
|
|
2029
|
+
*/
|
|
2030
|
+
handleMjpegOptions(): Promise<void>;
|
|
2031
|
+
mjpegStream: mjpeg.MJpegStream | undefined;
|
|
2032
|
+
/**
|
|
2033
|
+
* Allocates and configures port forwarding for the MJPEG server
|
|
2034
|
+
* @returns {Promise<void>}
|
|
2035
|
+
* @throws {Error} If port forwarding fails and mjpegServerPort capability value is provided explicitly
|
|
2036
|
+
*/
|
|
2037
|
+
allocateMjpegServerPort(): Promise<void>;
|
|
2038
|
+
/**
|
|
2039
|
+
* Returns the default URL for Safari browser
|
|
2040
|
+
* @returns {string} The default URL
|
|
2041
|
+
*/
|
|
2042
|
+
getDefaultUrl(): string;
|
|
2043
|
+
start(): Promise<void>;
|
|
2044
|
+
/**
|
|
2045
|
+
* Start the simulator and initialize based on capabilities
|
|
2046
|
+
*/
|
|
2047
|
+
initSimulator(): Promise<void>;
|
|
2048
|
+
/**
|
|
2049
|
+
* Start WebDriverAgentRunner
|
|
2050
|
+
*/
|
|
2051
|
+
startWda(): Promise<any>;
|
|
2052
|
+
/**
|
|
2053
|
+
*
|
|
2054
|
+
* @param {boolean} [enforceSimulatorShutdown=false]
|
|
2055
|
+
*/
|
|
2056
|
+
runReset(enforceSimulatorShutdown?: boolean): Promise<void>;
|
|
2057
|
+
deleteSession(sessionId: any): Promise<void>;
|
|
2058
|
+
stop(): Promise<void>;
|
|
2059
|
+
/**
|
|
2060
|
+
*
|
|
2061
|
+
* @param {string} cmd
|
|
2062
|
+
* @param {...any} args
|
|
2063
|
+
* @returns {Promise<any>}
|
|
2064
|
+
*/
|
|
2065
|
+
executeCommand(cmd: string, ...args: any[]): Promise<any>;
|
|
2066
|
+
configureApp(): Promise<void>;
|
|
2067
|
+
determineDevice(): Promise<{
|
|
2068
|
+
device: any;
|
|
2069
|
+
realDevice: boolean;
|
|
2070
|
+
udid: any;
|
|
2071
|
+
}>;
|
|
2072
|
+
startSim(): Promise<void>;
|
|
2073
|
+
createSim(): Promise<any>;
|
|
2074
|
+
startWdaSession(bundleId: any, processArguments: any): Promise<void>;
|
|
2075
|
+
proxyActive(): boolean;
|
|
2076
|
+
getProxyAvoidList(): import("@appium/types").RouteMatcher[];
|
|
2077
|
+
canProxy(): boolean;
|
|
2078
|
+
/**
|
|
2079
|
+
* @returns {boolean}
|
|
2080
|
+
*/
|
|
2081
|
+
isSafari(): boolean;
|
|
2082
|
+
/**
|
|
2083
|
+
* @returns {boolean}
|
|
2084
|
+
*/
|
|
2085
|
+
isRealDevice(): boolean;
|
|
2086
|
+
/**
|
|
2087
|
+
* @returns {boolean}
|
|
2088
|
+
*/
|
|
2089
|
+
isSimulator(): boolean;
|
|
2090
|
+
/**
|
|
2091
|
+
* @param {string} strategy
|
|
2092
|
+
*/
|
|
2093
|
+
validateLocatorStrategy(strategy: string): void;
|
|
2094
|
+
/**
|
|
2095
|
+
* Check if the given app can be installed, or should uninstall before installing it.
|
|
2096
|
+
*
|
|
2097
|
+
* @param {AutInstallationStateOptions} [opts]
|
|
2098
|
+
* @returns {Promise<AutInstallationState>}
|
|
2099
|
+
*/
|
|
2100
|
+
checkAutInstallationState(opts?: AutInstallationStateOptions): Promise<AutInstallationState>;
|
|
2101
|
+
installAUT(): Promise<void>;
|
|
2102
|
+
/**
|
|
2103
|
+
* @param {string|string[]} otherApps
|
|
2104
|
+
* @returns {Promise<void>}
|
|
2105
|
+
*/
|
|
2106
|
+
installOtherApps(otherApps: string | string[]): Promise<void>;
|
|
2107
|
+
/**
|
|
2108
|
+
* @param {string} orientation
|
|
2109
|
+
* @returns {Promise<void>}
|
|
2110
|
+
*/
|
|
2111
|
+
setInitialOrientation(orientation: string): Promise<void>;
|
|
2112
|
+
/**
|
|
2113
|
+
* @param {string} [cmdName]
|
|
2114
|
+
* @returns {number|undefined}
|
|
2115
|
+
*/
|
|
2116
|
+
_getCommandTimeout(cmdName?: string): number | undefined;
|
|
2117
|
+
preparePreinstalledWda(): Promise<void>;
|
|
2118
|
+
mobileGetActiveAppInfo: typeof activeAppInfoCommands.mobileGetActiveAppInfo;
|
|
2119
|
+
getAlertText: typeof alertCommands.getAlertText;
|
|
2120
|
+
setAlertText: typeof alertCommands.setAlertText;
|
|
2121
|
+
postAcceptAlert: typeof alertCommands.postAcceptAlert;
|
|
2122
|
+
postDismissAlert: typeof alertCommands.postDismissAlert;
|
|
2123
|
+
getAlertButtons: typeof alertCommands.getAlertButtons;
|
|
2124
|
+
mobileHandleAlert: typeof alertCommands.mobileHandleAlert;
|
|
2125
|
+
mobileInstallApp: typeof appManagementCommands.mobileInstallApp;
|
|
2126
|
+
mobileIsAppInstalled: typeof appManagementCommands.mobileIsAppInstalled;
|
|
2127
|
+
mobileRemoveApp: typeof appManagementCommands.mobileRemoveApp;
|
|
2128
|
+
mobileLaunchApp: typeof appManagementCommands.mobileLaunchApp;
|
|
2129
|
+
mobileTerminateApp: typeof appManagementCommands.mobileTerminateApp;
|
|
2130
|
+
mobileActivateApp: typeof appManagementCommands.mobileActivateApp;
|
|
2131
|
+
mobileKillApp: typeof appManagementCommands.mobileKillApp;
|
|
2132
|
+
mobileQueryAppState: typeof appManagementCommands.mobileQueryAppState;
|
|
2133
|
+
installApp: typeof appManagementCommands.installApp;
|
|
2134
|
+
activateApp: typeof appManagementCommands.activateApp;
|
|
2135
|
+
isAppInstalled: typeof appManagementCommands.isAppInstalled;
|
|
2136
|
+
terminateApp: typeof appManagementCommands.terminateApp;
|
|
2137
|
+
queryAppState: typeof appManagementCommands.queryAppState;
|
|
2138
|
+
mobileListApps: typeof appManagementCommands.mobileListApps;
|
|
2139
|
+
mobileClearApp: typeof appManagementCommands.mobileClearApp;
|
|
2140
|
+
mobileSetAppearance: typeof appearanceCommands.mobileSetAppearance;
|
|
2141
|
+
mobileGetAppearance: typeof appearanceCommands.mobileGetAppearance;
|
|
2142
|
+
mobileSetIncreaseContrast: typeof increaseContrastCommands.mobileSetIncreaseContrast;
|
|
2143
|
+
mobileGetIncreaseContrast: typeof increaseContrastCommands.mobileGetIncreaseContrast;
|
|
2144
|
+
mobileSetContentSize: typeof contentSizeCommands.mobileSetContentSize;
|
|
2145
|
+
mobileGetContentSize: typeof contentSizeCommands.mobileGetContentSize;
|
|
2146
|
+
mobilePerformAccessibilityAudit: typeof auditCommands.mobilePerformAccessibilityAudit;
|
|
2147
|
+
mobileGetBatteryInfo: typeof batteryCommands.mobileGetBatteryInfo;
|
|
2148
|
+
mobileEnrollBiometric: typeof biometricCommands.mobileEnrollBiometric;
|
|
2149
|
+
mobileSendBiometricMatch: typeof biometricCommands.mobileSendBiometricMatch;
|
|
2150
|
+
mobileIsBiometricEnrolled: typeof biometricCommands.mobileIsBiometricEnrolled;
|
|
2151
|
+
mobileInstallCertificate: typeof certificateCommands.mobileInstallCertificate;
|
|
2152
|
+
mobileListCertificates: typeof certificateCommands.mobileListCertificates;
|
|
2153
|
+
mobileRemoveCertificate: typeof certificateCommands.mobileRemoveCertificate;
|
|
2154
|
+
setClipboard: typeof clipboardCommands.setClipboard;
|
|
2155
|
+
getClipboard: typeof clipboardCommands.getClipboard;
|
|
2156
|
+
listConditionInducers: typeof conditionCommands.listConditionInducers;
|
|
2157
|
+
enableConditionInducer: typeof conditionCommands.enableConditionInducer;
|
|
2158
|
+
disableConditionInducer: typeof conditionCommands.disableConditionInducer;
|
|
2159
|
+
getContexts: typeof contextCommands.getContexts;
|
|
2160
|
+
getCurrentContext: typeof contextCommands.getCurrentContext;
|
|
2161
|
+
getWindowHandle: typeof contextCommands.getWindowHandle;
|
|
2162
|
+
getWindowHandles: typeof contextCommands.getWindowHandles;
|
|
2163
|
+
setContext: typeof contextCommands.setContext;
|
|
2164
|
+
setWindow: typeof contextCommands.setWindow;
|
|
2165
|
+
activateRecentWebview: typeof contextCommands.activateRecentWebview;
|
|
2166
|
+
connectToRemoteDebugger: typeof contextCommands.connectToRemoteDebugger;
|
|
2167
|
+
getContextsAndViews: typeof contextCommands.getContextsAndViews;
|
|
2168
|
+
listWebFrames: typeof contextCommands.listWebFrames;
|
|
2169
|
+
mobileGetContexts: typeof contextCommands.mobileGetContexts;
|
|
2170
|
+
onPageChange: typeof contextCommands.onPageChange;
|
|
2171
|
+
useNewSafari: typeof contextCommands.useNewSafari;
|
|
2172
|
+
getCurrentUrl: typeof contextCommands.getCurrentUrl;
|
|
2173
|
+
getNewRemoteDebugger: typeof contextCommands.getNewRemoteDebugger;
|
|
2174
|
+
getRecentWebviewContextId: typeof contextCommands.getRecentWebviewContextId;
|
|
2175
|
+
isWebContext: typeof contextCommands.isWebContext;
|
|
2176
|
+
isWebview: typeof contextCommands.isWebview;
|
|
2177
|
+
setCurrentUrl: typeof contextCommands.setCurrentUrl;
|
|
2178
|
+
stopRemote: typeof contextCommands.stopRemote;
|
|
2179
|
+
mobileGetDeviceInfo: typeof deviceInfoCommands.mobileGetDeviceInfo;
|
|
2180
|
+
elementDisplayed: typeof elementCommands.elementDisplayed;
|
|
2181
|
+
elementEnabled: typeof elementCommands.elementEnabled;
|
|
2182
|
+
elementSelected: typeof elementCommands.elementSelected;
|
|
2183
|
+
getName: typeof elementCommands.getName;
|
|
2184
|
+
getNativeAttribute: typeof elementCommands.getNativeAttribute;
|
|
2185
|
+
getAttribute: typeof elementCommands.getAttribute;
|
|
2186
|
+
getProperty: typeof elementCommands.getProperty;
|
|
2187
|
+
getText: typeof elementCommands.getText;
|
|
2188
|
+
getElementRect: typeof elementCommands.getElementRect;
|
|
2189
|
+
getLocation: typeof elementCommands.getLocation;
|
|
2190
|
+
getLocationInView: typeof elementCommands.getLocationInView;
|
|
2191
|
+
getSize: typeof elementCommands.getSize;
|
|
2192
|
+
/** @deprecated */
|
|
2193
|
+
setValueImmediate: typeof elementCommands.setValueImmediate;
|
|
2194
|
+
setValue: typeof elementCommands.setValue;
|
|
2195
|
+
setValueWithWebAtom: typeof elementCommands.setValueWithWebAtom;
|
|
2196
|
+
keys: typeof elementCommands.keys;
|
|
2197
|
+
clear: typeof elementCommands.clear;
|
|
2198
|
+
getContentSize: typeof elementCommands.getContentSize;
|
|
2199
|
+
getNativeRect: typeof elementCommands.getNativeRect;
|
|
2200
|
+
receiveAsyncResponse: typeof executeCommands.receiveAsyncResponse;
|
|
2201
|
+
execute: typeof executeCommands.execute;
|
|
2202
|
+
executeAsync: typeof executeCommands.executeAsync;
|
|
2203
|
+
mobileSimctl: typeof simctlCommands.mobileSimctl;
|
|
2204
|
+
pushFile: typeof fileMovementCommands.pushFile;
|
|
2205
|
+
mobilePushFile: typeof fileMovementCommands.mobilePushFile;
|
|
2206
|
+
pullFile: typeof fileMovementCommands.pullFile;
|
|
2207
|
+
mobilePullFile: typeof fileMovementCommands.mobilePullFile;
|
|
2208
|
+
mobileDeleteFolder: typeof fileMovementCommands.mobileDeleteFolder;
|
|
2209
|
+
mobileDeleteFile: typeof fileMovementCommands.mobileDeleteFile;
|
|
2210
|
+
pullFolder: typeof fileMovementCommands.pullFolder;
|
|
2211
|
+
mobilePullFolder: typeof fileMovementCommands.mobilePullFolder;
|
|
2212
|
+
mobileSendMemoryWarning: typeof memoryCommands.mobileSendMemoryWarning;
|
|
2213
|
+
findElOrEls: typeof findCommands.findElOrEls;
|
|
2214
|
+
findNativeElementOrElements: typeof findCommands.findNativeElementOrElements;
|
|
2215
|
+
doNativeFind: typeof findCommands.doNativeFind;
|
|
2216
|
+
getFirstVisibleChild: typeof findCommands.getFirstVisibleChild;
|
|
2217
|
+
active: typeof generalCommands.active;
|
|
2218
|
+
background: typeof appManagementCommands.background;
|
|
2219
|
+
touchId: typeof generalCommands.touchId;
|
|
2220
|
+
toggleEnrollTouchId: typeof generalCommands.toggleEnrollTouchId;
|
|
2221
|
+
getWindowSize: typeof generalCommands.getWindowSize;
|
|
2222
|
+
getDeviceTime: typeof generalCommands.getDeviceTime;
|
|
2223
|
+
mobileGetDeviceTime: typeof generalCommands.mobileGetDeviceTime;
|
|
2224
|
+
getWindowRect: typeof generalCommands.getWindowRect;
|
|
2225
|
+
getStrings: typeof appStringsCommands.getStrings;
|
|
2226
|
+
removeApp: typeof generalCommands.removeApp;
|
|
2227
|
+
launchApp: typeof generalCommands.launchApp;
|
|
2228
|
+
closeApp: typeof generalCommands.closeApp;
|
|
2229
|
+
setUrl: typeof generalCommands.setUrl;
|
|
2230
|
+
getViewportRect: typeof generalCommands.getViewportRect;
|
|
2231
|
+
getScreenInfo: typeof generalCommands.getScreenInfo;
|
|
2232
|
+
getStatusBarHeight: typeof generalCommands.getStatusBarHeight;
|
|
2233
|
+
getDevicePixelRatio: typeof generalCommands.getDevicePixelRatio;
|
|
2234
|
+
mobilePressButton: typeof generalCommands.mobilePressButton;
|
|
2235
|
+
mobileSiriCommand: typeof generalCommands.mobileSiriCommand;
|
|
2236
|
+
mobileGetSimulatedLocation: typeof geolocationCommands.mobileGetSimulatedLocation;
|
|
2237
|
+
mobileSetSimulatedLocation: typeof geolocationCommands.mobileSetSimulatedLocation;
|
|
2238
|
+
mobileResetSimulatedLocation: typeof geolocationCommands.mobileResetSimulatedLocation;
|
|
2239
|
+
mobileShake: typeof gestureCommands.mobileShake;
|
|
2240
|
+
click: typeof gestureCommands.click;
|
|
2241
|
+
releaseActions: typeof gestureCommands.releaseActions;
|
|
2242
|
+
performActions: typeof gestureCommands.performActions;
|
|
2243
|
+
nativeClick: typeof gestureCommands.nativeClick;
|
|
2244
|
+
mobileScrollToElement: typeof gestureCommands.mobileScrollToElement;
|
|
2245
|
+
mobileScroll: typeof gestureCommands.mobileScroll;
|
|
2246
|
+
mobileSwipe: typeof gestureCommands.mobileSwipe;
|
|
2247
|
+
mobilePinch: typeof gestureCommands.mobilePinch;
|
|
2248
|
+
mobileDoubleTap: typeof gestureCommands.mobileDoubleTap;
|
|
2249
|
+
mobileTwoFingerTap: typeof gestureCommands.mobileTwoFingerTap;
|
|
2250
|
+
mobileTouchAndHold: typeof gestureCommands.mobileTouchAndHold;
|
|
2251
|
+
mobileTap: typeof gestureCommands.mobileTap;
|
|
2252
|
+
mobileDragFromToForDuration: typeof gestureCommands.mobileDragFromToForDuration;
|
|
2253
|
+
mobileDragFromToWithVelocity: typeof gestureCommands.mobileDragFromToWithVelocity;
|
|
2254
|
+
mobileTapWithNumberOfTaps: typeof gestureCommands.mobileTapWithNumberOfTaps;
|
|
2255
|
+
mobileForcePress: typeof gestureCommands.mobileForcePress;
|
|
2256
|
+
mobileSelectPickerWheelValue: typeof gestureCommands.mobileSelectPickerWheelValue;
|
|
2257
|
+
mobileRotateElement: typeof gestureCommands.mobileRotateElement;
|
|
2258
|
+
mobilePerformIoHidEvent: typeof iohidCommands.mobilePerformIoHidEvent;
|
|
2259
|
+
mobileClearKeychains: typeof keychainsCommands.mobileClearKeychains;
|
|
2260
|
+
hideKeyboard: typeof keyboardCommands.hideKeyboard;
|
|
2261
|
+
mobileHideKeyboard: typeof keyboardCommands.mobileHideKeyboard;
|
|
2262
|
+
isKeyboardShown: typeof keyboardCommands.isKeyboardShown;
|
|
2263
|
+
mobileKeys: typeof keyboardCommands.mobileKeys;
|
|
2264
|
+
mobileConfigureLocalization: typeof localizationCommands.mobileConfigureLocalization;
|
|
2265
|
+
getGeoLocation: typeof locationCommands.getGeoLocation;
|
|
2266
|
+
setGeoLocation: typeof locationCommands.setGeoLocation;
|
|
2267
|
+
mobileResetLocationService: typeof locationCommands.mobileResetLocationService;
|
|
2268
|
+
lock: typeof lockCommands.lock;
|
|
2269
|
+
unlock: typeof lockCommands.unlock;
|
|
2270
|
+
isLocked: typeof lockCommands.isLocked;
|
|
2271
|
+
extractLogs: typeof logCommands.extractLogs;
|
|
2272
|
+
supportedLogTypes: import("@appium/types").LogDefRecord;
|
|
2273
|
+
startLogCapture: typeof logCommands.startLogCapture;
|
|
2274
|
+
mobileStartLogsBroadcast: typeof logCommands.mobileStartLogsBroadcast;
|
|
2275
|
+
mobileStopLogsBroadcast: typeof logCommands.mobileStopLogsBroadcast;
|
|
2276
|
+
back: typeof navigationCommands.back;
|
|
2277
|
+
forward: typeof navigationCommands.forward;
|
|
2278
|
+
closeWindow: typeof navigationCommands.closeWindow;
|
|
2279
|
+
nativeBack: typeof navigationCommands.nativeBack;
|
|
2280
|
+
mobileDeepLink: typeof navigationCommands.mobileDeepLink;
|
|
2281
|
+
mobilePushNotification: typeof notificationsCommands.mobilePushNotification;
|
|
2282
|
+
mobileExpectNotification: typeof notificationsCommands.mobileExpectNotification;
|
|
2283
|
+
mobileSetPasteboard: typeof pasteboardCommands.mobileSetPasteboard;
|
|
2284
|
+
mobileGetPasteboard: typeof pasteboardCommands.mobileGetPasteboard;
|
|
2285
|
+
mobileStartPcap: typeof pcapCommands.mobileStartPcap;
|
|
2286
|
+
mobileStopPcap: typeof pcapCommands.mobileStopPcap;
|
|
2287
|
+
mobileStartPerfRecord: typeof performanceCommands.mobileStartPerfRecord;
|
|
2288
|
+
mobileStopPerfRecord: typeof performanceCommands.mobileStopPerfRecord;
|
|
2289
|
+
mobileResetPermission: typeof permissionsCommands.mobileResetPermission;
|
|
2290
|
+
mobileGetPermission: typeof permissionsCommands.mobileGetPermission;
|
|
2291
|
+
mobileSetPermissions: typeof permissionsCommands.mobileSetPermissions;
|
|
2292
|
+
proxyCommand: typeof proxyHelperCommands.proxyCommand;
|
|
2293
|
+
startAudioRecording: typeof recordAudioCommands.startAudioRecording;
|
|
2294
|
+
stopAudioRecording: typeof recordAudioCommands.stopAudioRecording;
|
|
2295
|
+
startRecordingScreen: typeof recordScreenCommands.startRecordingScreen;
|
|
2296
|
+
stopRecordingScreen: typeof recordScreenCommands.stopRecordingScreen;
|
|
2297
|
+
getScreenshot: typeof screenshotCommands.getScreenshot;
|
|
2298
|
+
getElementScreenshot: typeof screenshotCommands.getElementScreenshot;
|
|
2299
|
+
getViewportScreenshot: typeof screenshotCommands.getViewportScreenshot;
|
|
2300
|
+
getPageSource: typeof sourceCommands.getPageSource;
|
|
2301
|
+
mobileGetSource: typeof sourceCommands.mobileGetSource;
|
|
2302
|
+
pageLoadTimeoutW3C: typeof timeoutCommands.pageLoadTimeoutW3C;
|
|
2303
|
+
pageLoadTimeoutMJSONWP: typeof timeoutCommands.pageLoadTimeoutMJSONWP;
|
|
2304
|
+
scriptTimeoutW3C: typeof timeoutCommands.scriptTimeoutW3C;
|
|
2305
|
+
scriptTimeoutMJSONWP: typeof timeoutCommands.scriptTimeoutMJSONWP;
|
|
2306
|
+
asyncScriptTimeout: typeof timeoutCommands.asyncScriptTimeout;
|
|
2307
|
+
setPageLoadTimeout: typeof timeoutCommands.setPageLoadTimeout;
|
|
2308
|
+
setAsyncScriptTimeout: typeof timeoutCommands.setAsyncScriptTimeout;
|
|
2309
|
+
setFrame: typeof webCommands.setFrame;
|
|
2310
|
+
getCssProperty: typeof webCommands.getCssProperty;
|
|
2311
|
+
submit: typeof webCommands.submit;
|
|
2312
|
+
refresh: typeof webCommands.refresh;
|
|
2313
|
+
getUrl: typeof webCommands.getUrl;
|
|
2314
|
+
title: typeof webCommands.title;
|
|
2315
|
+
getCookies: typeof webCommands.getCookies;
|
|
2316
|
+
setCookie: typeof webCommands.setCookie;
|
|
2317
|
+
deleteCookie: typeof webCommands.deleteCookie;
|
|
2318
|
+
deleteCookies: typeof webCommands.deleteCookies;
|
|
2319
|
+
cacheWebElement: typeof webCommands.cacheWebElement;
|
|
2320
|
+
cacheWebElements: typeof webCommands.cacheWebElements;
|
|
2321
|
+
executeAtom: typeof webCommands.executeAtom;
|
|
2322
|
+
executeAtomAsync: typeof webCommands.executeAtomAsync;
|
|
2323
|
+
getAtomsElement: typeof webCommands.getAtomsElement;
|
|
2324
|
+
convertElementsForAtoms: typeof webCommands.convertElementsForAtoms;
|
|
2325
|
+
getElementId: typeof webCommands.getElementId;
|
|
2326
|
+
hasElementId: typeof webCommands.hasElementId;
|
|
2327
|
+
findWebElementOrElements: typeof webCommands.findWebElementOrElements;
|
|
2328
|
+
clickWebCoords: typeof webCommands.clickWebCoords;
|
|
2329
|
+
getSafariIsIphone: typeof webCommands.getSafariIsIphone;
|
|
2330
|
+
getSafariDeviceSize: typeof webCommands.getSafariDeviceSize;
|
|
2331
|
+
getSafariIsNotched: typeof webCommands.getSafariIsNotched;
|
|
2332
|
+
getExtraTranslateWebCoordsOffset: typeof webCommands.getExtraTranslateWebCoordsOffset;
|
|
2333
|
+
getExtraNativeWebTapOffset: typeof webCommands.getExtraNativeWebTapOffset;
|
|
2334
|
+
nativeWebTap: typeof webCommands.nativeWebTap;
|
|
2335
|
+
translateWebCoords: typeof webCommands.translateWebCoords;
|
|
2336
|
+
checkForAlert: typeof webCommands.checkForAlert;
|
|
2337
|
+
waitForAtom: typeof webCommands.waitForAtom;
|
|
2338
|
+
mobileWebNav: typeof webCommands.mobileWebNav;
|
|
2339
|
+
getWdaLocalhostRoot: typeof webCommands.getWdaLocalhostRoot;
|
|
2340
|
+
mobileCalibrateWebToRealCoordinatesTranslation: typeof webCommands.mobileCalibrateWebToRealCoordinatesTranslation;
|
|
2341
|
+
mobileUpdateSafariPreferences: typeof webCommands.mobileUpdateSafariPreferences;
|
|
2342
|
+
mobileRunXCTest: typeof xctestCommands.mobileRunXCTest;
|
|
2343
|
+
mobileInstallXCTestBundle: typeof xctestCommands.mobileInstallXCTestBundle;
|
|
2344
|
+
mobileListXCTestBundles: typeof xctestCommands.mobileListXCTestBundles;
|
|
2345
|
+
mobileListXCTestsInTestBundle: typeof xctestCommands.mobileListXCTestsInTestBundle;
|
|
2346
|
+
mobileStartXctestScreenRecording: typeof xctestRecordScreenCommands.mobileStartXctestScreenRecording;
|
|
2347
|
+
mobileGetXctestScreenRecordingInfo: typeof xctestRecordScreenCommands.mobileGetXctestScreenRecordingInfo;
|
|
2348
|
+
mobileStopXctestScreenRecording: typeof xctestRecordScreenCommands.mobileStopXctestScreenRecording;
|
|
2349
|
+
}
|
|
2350
|
+
export default XCUITestDriver;
|
|
2351
|
+
export type ExternalDriver<C extends import("@appium/types").Constraints, Ctx = string> = import("@appium/types").ExternalDriver<C, Ctx>;
|
|
2352
|
+
export type AutInstallationStateOptions = Pick<XCUITestDriverOpts, "enforceAppInstall" | "fullReset" | "noReset" | "bundleId" | "app">;
|
|
2353
|
+
export type AutInstallationState = {
|
|
2354
|
+
/**
|
|
2355
|
+
* - If the given app should install, or not need to install.
|
|
2356
|
+
*/
|
|
2357
|
+
install: boolean;
|
|
2358
|
+
/**
|
|
2359
|
+
* - If the installed app should be uninstalled, or not.
|
|
2360
|
+
*/
|
|
2361
|
+
skipUninstall: boolean;
|
|
2362
|
+
};
|
|
2363
|
+
export type XCUITestDriverConstraints = typeof desiredCapConstraints;
|
|
2364
|
+
export type XCUITestDriverOpts = import("@appium/types").DriverOpts<XCUITestDriverConstraints>;
|
|
2365
|
+
export type FullContext = import("./commands/types").FullContext;
|
|
2366
|
+
export type XcodeVersion = import("@limrun/appium-xcode").XcodeVersion;
|
|
2367
|
+
export type Simulator = import("@limrun/appium-ios-simulator").Simulator;
|
|
2368
|
+
export type DriverLogs = {
|
|
2369
|
+
syslog?: import("./device-log/ios-simulator-log").IOSSimulatorLog | import("./device-log/ios-device-log").IOSDeviceLog | undefined;
|
|
2370
|
+
crashlog?: import("./device-log/ios-crash-log").IOSCrashLog | undefined;
|
|
2371
|
+
safariConsole?: import("./device-log/safari-console-log").SafariConsoleLog | undefined;
|
|
2372
|
+
safariNetwork?: import("./device-log/safari-network-log").SafariNetworkLog | undefined;
|
|
2373
|
+
performance?: import("./device-log/ios-performance-log").IOSPerformanceLog | undefined;
|
|
2374
|
+
};
|
|
2375
|
+
import { BaseDriver } from 'appium/driver';
|
|
2376
|
+
import { LRUCache } from 'lru-cache';
|
|
2377
|
+
import { RealDevice } from './real-device';
|
|
2378
|
+
import { WebDriverAgent } from 'appium-webdriveragent';
|
|
2379
|
+
import { DeviceSettings } from 'appium/driver';
|
|
2380
|
+
import { AppInfosCache } from './app-infos-cache';
|
|
2381
|
+
import { mjpeg } from 'appium/support';
|
|
2382
|
+
import * as activeAppInfoCommands from './commands/active-app-info';
|
|
2383
|
+
import * as alertCommands from './commands/alert';
|
|
2384
|
+
import * as appManagementCommands from './commands/app-management';
|
|
2385
|
+
import * as appearanceCommands from './commands/appearance';
|
|
2386
|
+
import * as increaseContrastCommands from './commands/increase-contrast';
|
|
2387
|
+
import * as contentSizeCommands from './commands/content-size';
|
|
2388
|
+
import * as auditCommands from './commands/audit';
|
|
2389
|
+
import * as batteryCommands from './commands/battery';
|
|
2390
|
+
import * as biometricCommands from './commands/biometric';
|
|
2391
|
+
import * as certificateCommands from './commands/certificate';
|
|
2392
|
+
import * as clipboardCommands from './commands/clipboard';
|
|
2393
|
+
import * as conditionCommands from './commands/condition';
|
|
2394
|
+
import * as contextCommands from './commands/context';
|
|
2395
|
+
import * as deviceInfoCommands from './commands/deviceInfo';
|
|
2396
|
+
import * as elementCommands from './commands/element';
|
|
2397
|
+
import * as executeCommands from './commands/execute';
|
|
2398
|
+
import * as simctlCommands from './commands/simctl';
|
|
2399
|
+
import * as fileMovementCommands from './commands/file-movement';
|
|
2400
|
+
import * as memoryCommands from './commands/memory';
|
|
2401
|
+
import * as findCommands from './commands/find';
|
|
2402
|
+
import * as generalCommands from './commands/general';
|
|
2403
|
+
import * as appStringsCommands from './commands/app-strings';
|
|
2404
|
+
import * as geolocationCommands from './commands/geolocation';
|
|
2405
|
+
import * as gestureCommands from './commands/gesture';
|
|
2406
|
+
import * as iohidCommands from './commands/iohid';
|
|
2407
|
+
import * as keychainsCommands from './commands/keychains';
|
|
2408
|
+
import * as keyboardCommands from './commands/keyboard';
|
|
2409
|
+
import * as localizationCommands from './commands/localization';
|
|
2410
|
+
import * as locationCommands from './commands/location';
|
|
2411
|
+
import * as lockCommands from './commands/lock';
|
|
2412
|
+
import * as logCommands from './commands/log';
|
|
2413
|
+
import * as navigationCommands from './commands/navigation';
|
|
2414
|
+
import * as notificationsCommands from './commands/notifications';
|
|
2415
|
+
import * as pasteboardCommands from './commands/pasteboard';
|
|
2416
|
+
import * as pcapCommands from './commands/pcap';
|
|
2417
|
+
import * as performanceCommands from './commands/performance';
|
|
2418
|
+
import * as permissionsCommands from './commands/permissions';
|
|
2419
|
+
import * as proxyHelperCommands from './commands/proxy-helper';
|
|
2420
|
+
import * as recordAudioCommands from './commands/record-audio';
|
|
2421
|
+
import * as recordScreenCommands from './commands/recordscreen';
|
|
2422
|
+
import * as screenshotCommands from './commands/screenshots';
|
|
2423
|
+
import * as sourceCommands from './commands/source';
|
|
2424
|
+
import * as timeoutCommands from './commands/timeouts';
|
|
2425
|
+
import * as webCommands from './commands/web';
|
|
2426
|
+
import * as xctestCommands from './commands/xctest';
|
|
2427
|
+
import * as xctestRecordScreenCommands from './commands/xctest-record-screen';
|
|
2428
|
+
import { desiredCapConstraints } from './desired-caps';
|
|
2429
|
+
//# sourceMappingURL=driver.d.ts.map
|