appium-xcuitest-driver 13.7.0 → 13.8.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +12 -0
- package/build/lib/commands/location.d.ts +4 -0
- package/build/lib/commands/location.d.ts.map +1 -1
- package/build/lib/commands/location.js +15 -2
- package/build/lib/commands/location.js.map +1 -1
- package/build/lib/driver.d.ts +1 -9
- package/build/lib/driver.d.ts.map +1 -1
- package/build/lib/method-map.d.ts +1 -9
- package/build/lib/method-map.d.ts.map +1 -1
- package/build/lib/method-map.js +4 -8
- package/build/lib/method-map.js.map +1 -1
- package/lib/commands/location.ts +15 -2
- package/lib/method-map.ts +4 -8
- package/node_modules/@appium/base-driver/package.json +4 -4
- package/node_modules/@appium/coresim/CHANGELOG.md +7 -0
- package/node_modules/@appium/coresim/binding.gyp +1 -0
- package/node_modules/@appium/coresim/lib/src/commands/interaction.d.ts +7 -2
- package/node_modules/@appium/coresim/lib/src/commands/interaction.d.ts.map +1 -1
- package/node_modules/@appium/coresim/lib/src/commands/interaction.js +7 -2
- package/node_modules/@appium/coresim/lib/src/commands/interaction.js.map +1 -1
- package/node_modules/@appium/coresim/lib/src/types.d.ts +1 -1
- package/node_modules/@appium/coresim/lib/src/types.d.ts.map +1 -1
- package/node_modules/@appium/coresim/package.json +2 -2
- package/node_modules/@appium/coresim/prebuilds/darwin-arm64/@appium+coresim.node +0 -0
- package/node_modules/@appium/coresim/src/commands/interaction.ts +8 -2
- package/node_modules/@appium/coresim/src/coresim.mm +32 -4
- package/node_modules/@appium/coresim/src/native/sim_location.h +22 -0
- package/node_modules/@appium/coresim/src/native/sim_location.mm +165 -0
- package/node_modules/@appium/coresim/src/types.ts +1 -1
- package/node_modules/@appium/support/package.json +3 -3
- package/node_modules/@appium/types/build/lib/command-maps.d.ts +129 -101
- package/node_modules/@appium/types/build/lib/command-maps.d.ts.map +1 -1
- package/node_modules/@appium/types/build/lib/driver.d.ts +1 -0
- package/node_modules/@appium/types/build/lib/driver.d.ts.map +1 -1
- package/node_modules/@appium/types/build/lib/plugin.d.ts +1 -1
- package/node_modules/@appium/types/lib/command-maps.ts +316 -112
- package/node_modules/@appium/types/lib/driver.ts +1 -0
- package/node_modules/@appium/types/lib/plugin.ts +1 -1
- package/node_modules/@appium/types/package.json +5 -5
- package/node_modules/@types/body-parser/README.md +1 -1
- package/node_modules/@types/body-parser/index.d.ts +35 -3
- package/node_modules/@types/body-parser/package.json +3 -3
- package/node_modules/@types/node/README.md +1 -1
- package/node_modules/@types/node/assert/strict.d.ts +1 -1
- package/node_modules/@types/node/assert.d.ts +13 -13
- package/node_modules/@types/node/crypto.d.ts +3 -3
- package/node_modules/@types/node/package.json +2 -2
- package/node_modules/@types/node/test.d.ts +4 -0
- package/node_modules/@types/node/url.d.ts +2 -0
- package/node_modules/@types/node/util.d.ts +1 -1
- package/node_modules/@types/node/web-globals/encoding.d.ts +5 -2
- package/node_modules/appium-ios-remotexpc/CHANGELOG.md +35 -0
- package/node_modules/appium-ios-remotexpc/build/src/lib/plist/constants.d.ts +1 -0
- package/node_modules/appium-ios-remotexpc/build/src/lib/plist/constants.d.ts.map +1 -1
- package/node_modules/appium-ios-remotexpc/build/src/lib/plist/constants.js +2 -0
- package/node_modules/appium-ios-remotexpc/build/src/lib/plist/constants.js.map +1 -1
- package/node_modules/appium-ios-remotexpc/build/src/lib/plist/plist-decoder.d.ts.map +1 -1
- package/node_modules/appium-ios-remotexpc/build/src/lib/plist/plist-decoder.js +7 -2
- package/node_modules/appium-ios-remotexpc/build/src/lib/plist/plist-decoder.js.map +1 -1
- package/node_modules/appium-ios-remotexpc/build/src/lib/plist/plist-service.d.ts +14 -1
- package/node_modules/appium-ios-remotexpc/build/src/lib/plist/plist-service.d.ts.map +1 -1
- package/node_modules/appium-ios-remotexpc/build/src/lib/plist/plist-service.js +40 -11
- package/node_modules/appium-ios-remotexpc/build/src/lib/plist/plist-service.js.map +1 -1
- package/node_modules/appium-ios-remotexpc/build/src/lib/port-forwarding/connectors.d.ts.map +1 -1
- package/node_modules/appium-ios-remotexpc/build/src/lib/port-forwarding/connectors.js +6 -3
- package/node_modules/appium-ios-remotexpc/build/src/lib/port-forwarding/connectors.js.map +1 -1
- package/node_modules/appium-ios-remotexpc/build/src/lib/usbmux/index.d.ts.map +1 -1
- package/node_modules/appium-ios-remotexpc/build/src/lib/usbmux/index.js +9 -7
- package/node_modules/appium-ios-remotexpc/build/src/lib/usbmux/index.js.map +1 -1
- package/node_modules/appium-ios-remotexpc/build/src/services/ios/accessibility-audit/dtx-transport.d.ts +1 -1
- package/node_modules/appium-ios-remotexpc/build/src/services/ios/accessibility-audit/dtx-transport.d.ts.map +1 -1
- package/node_modules/appium-ios-remotexpc/build/src/services/ios/accessibility-audit/dtx-transport.js +3 -1
- package/node_modules/appium-ios-remotexpc/build/src/services/ios/accessibility-audit/dtx-transport.js.map +1 -1
- package/node_modules/appium-ios-remotexpc/build/src/services/ios/accessibility-audit/index.d.ts +1 -1
- package/node_modules/appium-ios-remotexpc/build/src/services/ios/accessibility-audit/index.d.ts.map +1 -1
- package/node_modules/appium-ios-remotexpc/build/src/services/ios/accessibility-audit/index.js +1 -1
- package/node_modules/appium-ios-remotexpc/build/src/services/ios/accessibility-audit/index.js.map +1 -1
- package/node_modules/appium-ios-remotexpc/build/src/services/ios/afc/constants.d.ts +1 -0
- package/node_modules/appium-ios-remotexpc/build/src/services/ios/afc/constants.d.ts.map +1 -1
- package/node_modules/appium-ios-remotexpc/build/src/services/ios/afc/constants.js +2 -0
- package/node_modules/appium-ios-remotexpc/build/src/services/ios/afc/constants.js.map +1 -1
- package/node_modules/appium-ios-remotexpc/build/src/services/ios/afc/index.d.ts.map +1 -1
- package/node_modules/appium-ios-remotexpc/build/src/services/ios/afc/index.js +3 -3
- package/node_modules/appium-ios-remotexpc/build/src/services/ios/afc/index.js.map +1 -1
- package/node_modules/appium-ios-remotexpc/build/src/services/ios/crash-reports/index.d.ts.map +1 -1
- package/node_modules/appium-ios-remotexpc/build/src/services/ios/crash-reports/index.js +2 -1
- package/node_modules/appium-ios-remotexpc/build/src/services/ios/crash-reports/index.js.map +1 -1
- package/node_modules/appium-ios-remotexpc/build/src/services/ios/dvt/dtx-message.d.ts +12 -6
- package/node_modules/appium-ios-remotexpc/build/src/services/ios/dvt/dtx-message.d.ts.map +1 -1
- package/node_modules/appium-ios-remotexpc/build/src/services/ios/dvt/dtx-message.js.map +1 -1
- package/node_modules/appium-ios-remotexpc/build/src/services/ios/dvt/index.d.ts +2 -2
- package/node_modules/appium-ios-remotexpc/build/src/services/ios/dvt/index.d.ts.map +1 -1
- package/node_modules/appium-ios-remotexpc/build/src/services/ios/dvt/index.js +8 -4
- package/node_modules/appium-ios-remotexpc/build/src/services/ios/dvt/index.js.map +1 -1
- package/node_modules/appium-ios-remotexpc/build/src/services/ios/dvt/instruments/condition-inducer.d.ts.map +1 -1
- package/node_modules/appium-ios-remotexpc/build/src/services/ios/dvt/instruments/condition-inducer.js +2 -1
- package/node_modules/appium-ios-remotexpc/build/src/services/ios/dvt/instruments/condition-inducer.js.map +1 -1
- package/node_modules/appium-ios-remotexpc/build/src/services/ios/dvt/instruments/device-info.js.map +1 -1
- package/node_modules/appium-ios-remotexpc/build/src/services/ios/dvt/instruments/process-control.js.map +1 -1
- package/node_modules/appium-ios-remotexpc/build/src/services/ios/dvt/nskeyedarchiver-decoder.d.ts +11 -4
- package/node_modules/appium-ios-remotexpc/build/src/services/ios/dvt/nskeyedarchiver-decoder.d.ts.map +1 -1
- package/node_modules/appium-ios-remotexpc/build/src/services/ios/dvt/nskeyedarchiver-decoder.js +13 -13
- package/node_modules/appium-ios-remotexpc/build/src/services/ios/dvt/nskeyedarchiver-decoder.js.map +1 -1
- package/node_modules/appium-ios-remotexpc/build/src/services/ios/dvt/nskeyedarchiver-encoder.d.ts +5 -5
- package/node_modules/appium-ios-remotexpc/build/src/services/ios/dvt/nskeyedarchiver-encoder.d.ts.map +1 -1
- package/node_modules/appium-ios-remotexpc/build/src/services/ios/dvt/nskeyedarchiver-encoder.js.map +1 -1
- package/node_modules/appium-ios-remotexpc/build/src/services/ios/dvt/utils.d.ts +16 -11
- package/node_modules/appium-ios-remotexpc/build/src/services/ios/dvt/utils.d.ts.map +1 -1
- package/node_modules/appium-ios-remotexpc/build/src/services/ios/dvt/utils.js +1 -1
- package/node_modules/appium-ios-remotexpc/build/src/services/ios/dvt/utils.js.map +1 -1
- package/node_modules/appium-ios-remotexpc/build/src/services/ios/notification-proxy/index.d.ts.map +1 -1
- package/node_modules/appium-ios-remotexpc/build/src/services/ios/notification-proxy/index.js +7 -4
- package/node_modules/appium-ios-remotexpc/build/src/services/ios/notification-proxy/index.js.map +1 -1
- package/node_modules/appium-ios-remotexpc/build/src/services/ios/testmanagerd/index.d.ts +3 -3
- package/node_modules/appium-ios-remotexpc/build/src/services/ios/testmanagerd/index.d.ts.map +1 -1
- package/node_modules/appium-ios-remotexpc/build/src/services/ios/testmanagerd/index.js +8 -4
- package/node_modules/appium-ios-remotexpc/build/src/services/ios/testmanagerd/index.js.map +1 -1
- package/node_modules/appium-ios-remotexpc/build/src/services/ios/testmanagerd/testmanagerd-encoder.d.ts +1 -1
- package/node_modules/appium-ios-remotexpc/build/src/services/ios/testmanagerd/testmanagerd-encoder.d.ts.map +1 -1
- package/node_modules/appium-ios-remotexpc/build/src/services/ios/testmanagerd/testmanagerd-encoder.js +3 -2
- package/node_modules/appium-ios-remotexpc/build/src/services/ios/testmanagerd/testmanagerd-encoder.js.map +1 -1
- package/node_modules/appium-ios-remotexpc/build/src/services/ios/testmanagerd/xctest-attachment.js.map +1 -1
- package/node_modules/appium-ios-remotexpc/build/src/services/ios/testmanagerd/xctest-common.d.ts +2 -2
- package/node_modules/appium-ios-remotexpc/build/src/services/ios/testmanagerd/xctest-common.d.ts.map +1 -1
- package/node_modules/appium-ios-remotexpc/build/src/services/ios/testmanagerd/xctest-common.js +3 -2
- package/node_modules/appium-ios-remotexpc/build/src/services/ios/testmanagerd/xctest-common.js.map +1 -1
- package/node_modules/appium-ios-remotexpc/build/src/services/ios/testmanagerd/xctestconfiguration.d.ts +1 -1
- package/node_modules/appium-ios-remotexpc/build/src/services/ios/testmanagerd/xctestconfiguration.d.ts.map +1 -1
- package/node_modules/appium-ios-remotexpc/build/src/services/ios/testmanagerd/xctestconfiguration.js +2 -1
- package/node_modules/appium-ios-remotexpc/build/src/services/ios/testmanagerd/xctestconfiguration.js.map +1 -1
- package/node_modules/appium-ios-remotexpc/build/src/services/ios/testmanagerd/xcuitest.js.map +1 -1
- package/node_modules/appium-ios-remotexpc/package.json +3 -4
- package/node_modules/appium-ios-remotexpc/scripts/lib/cli.mjs +65 -0
- package/node_modules/appium-ios-remotexpc/scripts/pair-appletv.mjs +18 -12
- package/node_modules/appium-ios-remotexpc/scripts/start-appletv-tunnel.mjs +32 -27
- package/node_modules/appium-ios-remotexpc/scripts/tunnel-creation.mjs +38 -26
- package/node_modules/appium-ios-remotexpc/src/lib/plist/constants.ts +2 -0
- package/node_modules/appium-ios-remotexpc/src/lib/plist/plist-decoder.ts +8 -2
- package/node_modules/appium-ios-remotexpc/src/lib/plist/plist-service.ts +43 -11
- package/node_modules/appium-ios-remotexpc/src/lib/port-forwarding/connectors.ts +15 -3
- package/node_modules/appium-ios-remotexpc/src/lib/usbmux/index.ts +10 -7
- package/node_modules/appium-ios-remotexpc/src/services/ios/accessibility-audit/dtx-transport.ts +5 -2
- package/node_modules/appium-ios-remotexpc/src/services/ios/accessibility-audit/index.ts +2 -2
- package/node_modules/appium-ios-remotexpc/src/services/ios/afc/constants.ts +3 -0
- package/node_modules/appium-ios-remotexpc/src/services/ios/afc/index.ts +3 -3
- package/node_modules/appium-ios-remotexpc/src/services/ios/crash-reports/index.ts +4 -6
- package/node_modules/appium-ios-remotexpc/src/services/ios/dvt/dtx-message.ts +6 -6
- package/node_modules/appium-ios-remotexpc/src/services/ios/dvt/index.ts +24 -20
- package/node_modules/appium-ios-remotexpc/src/services/ios/dvt/instruments/condition-inducer.ts +3 -2
- package/node_modules/appium-ios-remotexpc/src/services/ios/dvt/instruments/device-info.ts +1 -1
- package/node_modules/appium-ios-remotexpc/src/services/ios/dvt/instruments/process-control.ts +1 -1
- package/node_modules/appium-ios-remotexpc/src/services/ios/dvt/nskeyedarchiver-decoder.ts +39 -29
- package/node_modules/appium-ios-remotexpc/src/services/ios/dvt/nskeyedarchiver-encoder.ts +6 -6
- package/node_modules/appium-ios-remotexpc/src/services/ios/dvt/utils.ts +12 -12
- package/node_modules/appium-ios-remotexpc/src/services/ios/notification-proxy/index.ts +8 -4
- package/node_modules/appium-ios-remotexpc/src/services/ios/testmanagerd/index.ts +31 -27
- package/node_modules/appium-ios-remotexpc/src/services/ios/testmanagerd/testmanagerd-encoder.ts +6 -5
- package/node_modules/appium-ios-remotexpc/src/services/ios/testmanagerd/xctest-attachment.ts +1 -1
- package/node_modules/appium-ios-remotexpc/src/services/ios/testmanagerd/xctest-common.ts +7 -6
- package/node_modules/appium-ios-remotexpc/src/services/ios/testmanagerd/xctestconfiguration.ts +9 -7
- package/node_modules/appium-ios-remotexpc/src/services/ios/testmanagerd/xcuitest.ts +2 -2
- package/node_modules/appium-ios-simulator/CHANGELOG.md +14 -0
- package/node_modules/appium-ios-simulator/build/lib/extensions/display.d.ts +15 -0
- package/node_modules/appium-ios-simulator/build/lib/extensions/display.d.ts.map +1 -0
- package/node_modules/appium-ios-simulator/build/lib/extensions/display.js +9 -0
- package/node_modules/appium-ios-simulator/build/lib/extensions/display.js.map +1 -0
- package/node_modules/appium-ios-simulator/build/lib/extensions/geolocation.d.ts +4 -1
- package/node_modules/appium-ios-simulator/build/lib/extensions/geolocation.d.ts.map +1 -1
- package/node_modules/appium-ios-simulator/build/lib/extensions/geolocation.js +14 -2
- package/node_modules/appium-ios-simulator/build/lib/extensions/geolocation.js.map +1 -1
- package/node_modules/appium-ios-simulator/build/lib/simulator-xcode-15.d.ts.map +1 -1
- package/node_modules/appium-ios-simulator/build/lib/simulator-xcode-15.js +3 -0
- package/node_modules/appium-ios-simulator/build/lib/simulator-xcode-15.js.map +1 -1
- package/node_modules/appium-ios-simulator/build/lib/types.d.ts +28 -2
- package/node_modules/appium-ios-simulator/build/lib/types.d.ts.map +1 -1
- package/node_modules/appium-ios-simulator/lib/extensions/display.ts +17 -0
- package/node_modules/appium-ios-simulator/lib/extensions/geolocation.ts +21 -1
- package/node_modules/appium-ios-simulator/lib/simulator-xcode-15.ts +4 -0
- package/node_modules/appium-ios-simulator/lib/types.ts +34 -1
- package/node_modules/appium-ios-simulator/package.json +3 -3
- package/node_modules/appium-ios-tuntap/CHANGELOG.md +7 -0
- package/node_modules/appium-ios-tuntap/package.json +2 -3
- package/node_modules/appium-ios-tuntap/prebuilds/darwin-arm64/appium-ios-tuntap.node +0 -0
- package/node_modules/appium-ios-tuntap/prebuilds/win32-x64/appium-ios-tuntap.node +0 -0
- package/node_modules/appium-ios-tuntap/scripts/fetch-wintun.mjs +31 -10
- package/node_modules/appium-remote-debugger/CHANGELOG.md +48 -0
- package/node_modules/appium-remote-debugger/package.json +4 -4
- package/node_modules/appium-webdriveragent/CHANGELOG.md +44 -0
- package/node_modules/appium-webdriveragent/WebDriverAgent.xcodeproj/project.pbxproj +12 -0
- package/node_modules/appium-webdriveragent/WebDriverAgentLib/Categories/FBXCElementSnapshotWrapper+Helpers.h +0 -7
- package/node_modules/appium-webdriveragent/WebDriverAgentLib/Categories/FBXCElementSnapshotWrapper+Helpers.m +0 -11
- package/node_modules/appium-webdriveragent/WebDriverAgentLib/Categories/XCUIApplication+FBHelpers.h +0 -7
- package/node_modules/appium-webdriveragent/WebDriverAgentLib/Categories/XCUIApplication+FBHelpers.m +0 -19
- package/node_modules/appium-webdriveragent/WebDriverAgentLib/Categories/XCUIDevice+FBHelpers.m +2 -2
- package/node_modules/appium-webdriveragent/WebDriverAgentLib/Categories/XCUIDevice+FBHinge.m +1 -1
- package/node_modules/appium-webdriveragent/WebDriverAgentLib/Categories/XCUIElement+FBClassChain.m +4 -1
- package/node_modules/appium-webdriveragent/WebDriverAgentLib/Categories/XCUIElement+FBUID.h +0 -6
- package/node_modules/appium-webdriveragent/WebDriverAgentLib/Categories/XCUIElement+FBUID.m +0 -12
- package/node_modules/appium-webdriveragent/WebDriverAgentLib/Categories/XCUIElement+FBUtilities.m +41 -1
- package/node_modules/appium-webdriveragent/WebDriverAgentLib/Commands/FBCustomCommands.m +5 -1
- package/node_modules/appium-webdriveragent/WebDriverAgentLib/Commands/FBSessionCommands.m +40 -13
- package/node_modules/appium-webdriveragent/WebDriverAgentLib/Info.plist +2 -2
- package/node_modules/appium-webdriveragent/WebDriverAgentLib/Routing/FBElementCache.m +8 -0
- package/node_modules/appium-webdriveragent/WebDriverAgentLib/Routing/FBResponsePayload.h +6 -0
- package/node_modules/appium-webdriveragent/WebDriverAgentLib/Routing/FBResponsePayload.m +14 -0
- package/node_modules/appium-webdriveragent/WebDriverAgentLib/Utilities/FBDisplayGeometry.m +2 -2
- package/node_modules/appium-webdriveragent/WebDriverAgentLib/Utilities/FBMacros.h +0 -10
- package/node_modules/appium-webdriveragent/WebDriverAgentLib/Utilities/FBMjpegServer.m +6 -6
- package/node_modules/appium-webdriveragent/WebDriverAgentLib/Utilities/FBProtocolHelpers.h +18 -8
- package/node_modules/appium-webdriveragent/WebDriverAgentLib/Utilities/FBProtocolHelpers.m +20 -12
- package/node_modules/appium-webdriveragent/WebDriverAgentLib/Utilities/FBScreen.m +6 -0
- package/node_modules/appium-webdriveragent/WebDriverAgentLib/Utilities/FBScreenshot.h +3 -3
- package/node_modules/appium-webdriveragent/WebDriverAgentLib/Utilities/FBScreenshot.m +3 -3
- package/node_modules/appium-webdriveragent/WebDriverAgentLib/Utilities/FBXCAXClientProxy.m +1 -1
- package/node_modules/appium-webdriveragent/WebDriverAgentLib/Utilities/XCTestPrivateSymbols.h +0 -24
- package/node_modules/appium-webdriveragent/WebDriverAgentLib/Utilities/XCTestPrivateSymbols.m +0 -29
- package/node_modules/appium-webdriveragent/WebDriverAgentRunner/Info.plist +3 -3
- package/node_modules/appium-webdriveragent/WebDriverAgentTests/IntegrationTests/FBDisplayGestureTests.m +2 -1
- package/node_modules/appium-webdriveragent/WebDriverAgentTests/IntegrationTests/Info.plist +1 -1
- package/node_modules/appium-webdriveragent/WebDriverAgentTests/IntegrationTests/XCUIElementFBFindTests.m +86 -0
- package/node_modules/appium-webdriveragent/WebDriverAgentTests/UnitTests/FBSessionCommandsTests.m +360 -0
- package/node_modules/appium-webdriveragent/package.json +3 -3
- package/node_modules/string_decoder/package.json +4 -5
- package/node_modules/teen_process/CHANGELOG.md +6 -0
- package/node_modules/teen_process/package.json +1 -2
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,15 @@
|
|
|
1
|
+
## [13.8.1](https://github.com/appium/appium-xcuitest-driver/compare/v13.8.0...v13.8.1) (2026-11-27)
|
|
2
|
+
|
|
3
|
+
### Miscellaneous Chores
|
|
4
|
+
|
|
5
|
+
* bump @appium/types to v3 ([#3166](https://github.com/appium/appium-xcuitest-driver/issues/3166)) ([96dc32b](https://github.com/appium/appium-xcuitest-driver/commit/96dc32bce84c8c78818320f71b8aa1242b397558))
|
|
6
|
+
|
|
7
|
+
## [13.8.0](https://github.com/appium/appium-xcuitest-driver/compare/v13.7.0...v13.8.0) (2026-11-25)
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* support altitude in setGeoLocation on simulators ([#3163](https://github.com/appium/appium-xcuitest-driver/issues/3163)) ([cd86a60](https://github.com/appium/appium-xcuitest-driver/commit/cd86a60cebc11093c54dea7d9b01da8625683cdf))
|
|
12
|
+
|
|
1
13
|
## [13.7.0](https://github.com/appium/appium-xcuitest-driver/compare/v13.6.1...v13.7.0) (2026-11-24)
|
|
2
14
|
|
|
3
15
|
### Features
|
|
@@ -29,7 +29,11 @@ export declare function getGeoLocation(this: XCUITestDriver): Promise<LocationWi
|
|
|
29
29
|
* iOS 17 or newer, this uses `mobile:setSimulatedLocation` (XCTest session simulated location).
|
|
30
30
|
* Older real devices are not supported.
|
|
31
31
|
*
|
|
32
|
+
* The optional `altitude` is only applied on simulators. Real devices ignore it, and the
|
|
33
|
+
* altitude they report stays zero.
|
|
34
|
+
*
|
|
32
35
|
* @param location - Must include `latitude` and `longitude` (each coerced with `Number()`).
|
|
36
|
+
* May include `altitude` in meters above sea level.
|
|
33
37
|
* @throws {errors.NotImplementedError} When the target is a real device below iOS/tvOS 17.
|
|
34
38
|
*/
|
|
35
39
|
export declare function setGeoLocation(this: XCUITestDriver, location: Partial<LocationWithAltitude>): Promise<LocationWithAltitude>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"location.d.ts","sourceRoot":"","sources":["../../../lib/commands/location.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAC,cAAc,EAAC,MAAM,cAAc,CAAC;AAGjD,OAAO,KAAK,EAAC,oBAAoB,EAAkB,MAAM,YAAY,CAAC;AAEtE,OAAO,QAAQ,cAAc,CAAC;IAC5B,UAAU,cAAc;QACtB,cAAc,CAAC,GAAG,IAAI,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;QAC9F,cAAc,CAAC,GAAG,IAAI,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;QAC9F,0BAA0B,CACxB,GAAG,IAAI,EAAE,UAAU,CAAC,OAAO,0BAA0B,CAAC,GACrD,UAAU,CAAC,OAAO,0BAA0B,CAAC,CAAC;KAClD;CACF;AAKD;;;;;;;;;;;;;GAaG;AACH,wBAAsB,cAAc,CAAC,IAAI,EAAE,cAAc,GAAG,OAAO,CAAC,oBAAoB,CAAC,CAkCxF;AAED
|
|
1
|
+
{"version":3,"file":"location.d.ts","sourceRoot":"","sources":["../../../lib/commands/location.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAC,cAAc,EAAC,MAAM,cAAc,CAAC;AAGjD,OAAO,KAAK,EAAC,oBAAoB,EAAkB,MAAM,YAAY,CAAC;AAEtE,OAAO,QAAQ,cAAc,CAAC;IAC5B,UAAU,cAAc;QACtB,cAAc,CAAC,GAAG,IAAI,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;QAC9F,cAAc,CAAC,GAAG,IAAI,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;QAC9F,0BAA0B,CACxB,GAAG,IAAI,EAAE,UAAU,CAAC,OAAO,0BAA0B,CAAC,GACrD,UAAU,CAAC,OAAO,0BAA0B,CAAC,CAAC;KAClD;CACF;AAKD;;;;;;;;;;;;;GAaG;AACH,wBAAsB,cAAc,CAAC,IAAI,EAAE,cAAc,GAAG,OAAO,CAAC,oBAAoB,CAAC,CAkCxF;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAsB,cAAc,CAClC,IAAI,EAAE,cAAc,EACpB,QAAQ,EAAE,OAAO,CAAC,oBAAoB,CAAC,GACtC,OAAO,CAAC,oBAAoB,CAAC,CAmC/B;AAED;;;;;;GAMG;AACH,wBAAsB,0BAA0B,CAAC,IAAI,EAAE,cAAc,GAAG,OAAO,CAAC,IAAI,CAAC,CAQpF"}
|
|
@@ -48,7 +48,11 @@ export async function getGeoLocation() {
|
|
|
48
48
|
* iOS 17 or newer, this uses `mobile:setSimulatedLocation` (XCTest session simulated location).
|
|
49
49
|
* Older real devices are not supported.
|
|
50
50
|
*
|
|
51
|
+
* The optional `altitude` is only applied on simulators. Real devices ignore it, and the
|
|
52
|
+
* altitude they report stays zero.
|
|
53
|
+
*
|
|
51
54
|
* @param location - Must include `latitude` and `longitude` (each coerced with `Number()`).
|
|
55
|
+
* May include `altitude` in meters above sea level.
|
|
52
56
|
* @throws {errors.NotImplementedError} When the target is a real device below iOS/tvOS 17.
|
|
53
57
|
*/
|
|
54
58
|
export async function setGeoLocation(location) {
|
|
@@ -61,11 +65,20 @@ export async function setGeoLocation(location) {
|
|
|
61
65
|
}
|
|
62
66
|
}
|
|
63
67
|
const [latitudeNumber, longitudeNumber] = [Number(location.latitude), Number(location.longitude)];
|
|
68
|
+
// A blank string counts as no altitude, as `Number()` would turn it into 0
|
|
69
|
+
const hasAltitude = util.hasValue(location.altitude) && String(location.altitude).trim() !== '';
|
|
64
70
|
if (this.isSimulator()) {
|
|
65
|
-
|
|
66
|
-
|
|
71
|
+
if (hasAltitude && !Number.isFinite(Number(location.altitude))) {
|
|
72
|
+
throw new errors.InvalidArgumentError(`altitude must be a number, got '${location.altitude}' instead`);
|
|
73
|
+
}
|
|
74
|
+
const altitudeNumber = hasAltitude ? Number(location.altitude) : undefined;
|
|
75
|
+
await this.device.setGeolocation(`${latitudeNumber}`, `${longitudeNumber}`, altitudeNumber);
|
|
76
|
+
return { latitude: latitudeNumber, longitude: longitudeNumber, altitude: altitudeNumber ?? 0 };
|
|
67
77
|
}
|
|
68
78
|
if (supportsApiLevel17(this.opts.platformVersion, this.opts.platformName)) {
|
|
79
|
+
if (hasAltitude) {
|
|
80
|
+
this.log.warn(`The altitude value is only supported on simulators, thus it is going to be ignored`);
|
|
81
|
+
}
|
|
69
82
|
this.log.info(`Proxying to mobile:setSimulatedLocation method for iOS 17+`);
|
|
70
83
|
await this.mobileSetSimulatedLocation(latitudeNumber, longitudeNumber);
|
|
71
84
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"location.js","sourceRoot":"","sources":["../../../lib/commands/location.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,MAAM,EAAC,MAAM,kBAAkB,CAAC;AACxC,OAAO,EAAC,IAAI,EAAC,MAAM,mBAAmB,CAAC;AAGvC,OAAO,EAAC,kBAAkB,EAAC,MAAM,mBAAmB,CAAC;AACrD,OAAO,EAAC,mBAAmB,EAAC,MAAM,WAAW,CAAC;AAa9C,MAAM,wC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,MAAM,CAAC,mBAAmB,CAAC,IAAI,CAAC,WAAW,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,wCAAwC,CAAC,CAAC;AAClH,CAAC"}
|
package/build/lib/driver.d.ts
CHANGED
|
@@ -87,15 +87,6 @@ export type XCUITestDriverOpts = DriverOpts<XCUITestDriverConstraints>;
|
|
|
87
87
|
export type W3CXCUITestDriverCaps = W3CDriverCaps<XCUITestDriverConstraints>;
|
|
88
88
|
export declare class XCUITestDriver extends BaseDriver<XCUITestDriverConstraints, StringRecord> implements ExternalDriver<XCUITestDriverConstraints, FullContext | string, StringRecord> {
|
|
89
89
|
static newMethodMap: {
|
|
90
|
-
readonly '/session/:sessionId/timeouts/implicit_wait': {
|
|
91
|
-
readonly POST: {
|
|
92
|
-
readonly command: "implicitWait";
|
|
93
|
-
readonly payloadParams: {
|
|
94
|
-
readonly required: readonly ["ms"];
|
|
95
|
-
};
|
|
96
|
-
readonly deprecated: true;
|
|
97
|
-
};
|
|
98
|
-
};
|
|
99
90
|
readonly '/session/:sessionId/window/:windowhandle/size': {
|
|
100
91
|
readonly GET: {
|
|
101
92
|
readonly command: "getWindowSize";
|
|
@@ -146,6 +137,7 @@ export declare class XCUITestDriver extends BaseDriver<XCUITestDriverConstraints
|
|
|
146
137
|
readonly command: "hideKeyboard";
|
|
147
138
|
readonly payloadParams: {
|
|
148
139
|
readonly optional: readonly ["strategy", "key", "keyCode", "keyName"];
|
|
140
|
+
readonly makeArgs: ({ strategy, key, keyCode, keyName }: any) => any[];
|
|
149
141
|
};
|
|
150
142
|
};
|
|
151
143
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"driver.d.ts","sourceRoot":"","sources":["../../lib/driver.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACV,YAAY,EACZ,0BAA0B,EAC1B,YAAY,EACZ,cAAc,EACd,aAAa,EACb,UAAU,EACV,UAAU,EACV,YAAY,EACb,MAAM,eAAe,CAAC;A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;YA6BnB,0BAA0B;YA0B1B,YAAY;IAyB1B,OAAO,CAAC,QAAQ;YA0BF,WAAW;YAkCX,mBAAmB;YAuBnB,sBAAsB;YA6BtB,oBAAoB;YAkCpB,QAAQ;YAUR,IAAI;YAQJ,YAAY;YAsCZ,eAAe;YAmBf,qBAAqB;IAkBnC,OAAO,CAAC,eAAe;IAqCvB,2FAA2F;IAC3F,OAAO,CAAC,4BAA4B;IASpC,OAAO,CAAC,0BAA0B;CAUnC;AA6WD,eAAe,cAAc,CAAC"}
|
|
@@ -1,13 +1,4 @@
|
|
|
1
1
|
export declare const newMethodMap: {
|
|
2
|
-
readonly '/session/:sessionId/timeouts/implicit_wait': {
|
|
3
|
-
readonly POST: {
|
|
4
|
-
readonly command: "implicitWait";
|
|
5
|
-
readonly payloadParams: {
|
|
6
|
-
readonly required: readonly ["ms"];
|
|
7
|
-
};
|
|
8
|
-
readonly deprecated: true;
|
|
9
|
-
};
|
|
10
|
-
};
|
|
11
2
|
readonly '/session/:sessionId/window/:windowhandle/size': {
|
|
12
3
|
readonly GET: {
|
|
13
4
|
readonly command: "getWindowSize";
|
|
@@ -58,6 +49,7 @@ export declare const newMethodMap: {
|
|
|
58
49
|
readonly command: "hideKeyboard";
|
|
59
50
|
readonly payloadParams: {
|
|
60
51
|
readonly optional: readonly ["strategy", "key", "keyCode", "keyName"];
|
|
52
|
+
readonly makeArgs: ({ strategy, key, keyCode, keyName }: any) => any[];
|
|
61
53
|
};
|
|
62
54
|
};
|
|
63
55
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"method-map.d.ts","sourceRoot":"","sources":["../../lib/method-map.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,YAAY
|
|
1
|
+
{"version":3,"file":"method-map.d.ts","sourceRoot":"","sources":["../../lib/method-map.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkLqB,CAAC"}
|
package/build/lib/method-map.js
CHANGED
|
@@ -1,11 +1,4 @@
|
|
|
1
1
|
export const newMethodMap = {
|
|
2
|
-
'/session/:sessionId/timeouts/implicit_wait': {
|
|
3
|
-
POST: {
|
|
4
|
-
command: 'implicitWait',
|
|
5
|
-
payloadParams: { required: ['ms'] },
|
|
6
|
-
deprecated: true,
|
|
7
|
-
},
|
|
8
|
-
},
|
|
9
2
|
'/session/:sessionId/window/:windowhandle/size': {
|
|
10
3
|
GET: {
|
|
11
4
|
command: 'getWindowSize',
|
|
@@ -52,7 +45,10 @@ export const newMethodMap = {
|
|
|
52
45
|
'/session/:sessionId/appium/device/hide_keyboard': {
|
|
53
46
|
POST: {
|
|
54
47
|
command: 'hideKeyboard',
|
|
55
|
-
payloadParams: {
|
|
48
|
+
payloadParams: {
|
|
49
|
+
optional: ['strategy', 'key', 'keyCode', 'keyName'],
|
|
50
|
+
makeArgs: ({ strategy, key, keyCode, keyName }) => [strategy, key, keyCode, keyName],
|
|
51
|
+
},
|
|
56
52
|
},
|
|
57
53
|
},
|
|
58
54
|
'/session/:sessionId/appium/device/lock': {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"method-map.js","sourceRoot":"","sources":["../../lib/method-map.ts"],"names":[],"mappings":"AAIA,MAAM,CAAC,MAAM,YAAY,GAAG;IAC1B
|
|
1
|
+
{"version":3,"file":"method-map.js","sourceRoot":"","sources":["../../lib/method-map.ts"],"names":[],"mappings":"AAIA,MAAM,CAAC,MAAM,YAAY,GAAG;IAC1B,+CAA+C,EAAE;QAC/C,GAAG,EAAE;YACH,OAAO,EAAE,eAAe;YACxB,UAAU,EAAE,I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AAE;QAC9B,wEAAwE;QACxE,oFAAoF;QACpF,GAAG,EAAE,EAAC,OAAO,EAAE,aAAa,EAAC;QAC7B,IAAI,EAAE,EAAC,OAAO,EAAE,aAAa,EAAE,aAAa,EAAE,EAAC,QAAQ,EAAE,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,CAAC,EAAC,EAAC;KAC3E;CAC2C,CAAC"}
|
package/lib/commands/location.ts
CHANGED
|
@@ -77,7 +77,11 @@ export async function getGeoLocation(this: XCUITestDriver): Promise<LocationWith
|
|
|
77
77
|
* iOS 17 or newer, this uses `mobile:setSimulatedLocation` (XCTest session simulated location).
|
|
78
78
|
* Older real devices are not supported.
|
|
79
79
|
*
|
|
80
|
+
* The optional `altitude` is only applied on simulators. Real devices ignore it, and the
|
|
81
|
+
* altitude they report stays zero.
|
|
82
|
+
*
|
|
80
83
|
* @param location - Must include `latitude` and `longitude` (each coerced with `Number()`).
|
|
84
|
+
* May include `altitude` in meters above sea level.
|
|
81
85
|
* @throws {errors.NotImplementedError} When the target is a real device below iOS/tvOS 17.
|
|
82
86
|
*/
|
|
83
87
|
export async function setGeoLocation(
|
|
@@ -95,13 +99,22 @@ export async function setGeoLocation(
|
|
|
95
99
|
}
|
|
96
100
|
}
|
|
97
101
|
const [latitudeNumber, longitudeNumber] = [Number(location.latitude), Number(location.longitude)];
|
|
102
|
+
// A blank string counts as no altitude, as `Number()` would turn it into 0
|
|
103
|
+
const hasAltitude = util.hasValue(location.altitude) && String(location.altitude).trim() !== '';
|
|
98
104
|
|
|
99
105
|
if (this.isSimulator()) {
|
|
100
|
-
|
|
101
|
-
|
|
106
|
+
if (hasAltitude && !Number.isFinite(Number(location.altitude))) {
|
|
107
|
+
throw new errors.InvalidArgumentError(`altitude must be a number, got '${location.altitude}' instead`);
|
|
108
|
+
}
|
|
109
|
+
const altitudeNumber = hasAltitude ? Number(location.altitude) : undefined;
|
|
110
|
+
await (this.device as Simulator).setGeolocation(`${latitudeNumber}`, `${longitudeNumber}`, altitudeNumber);
|
|
111
|
+
return {latitude: latitudeNumber, longitude: longitudeNumber, altitude: altitudeNumber ?? 0};
|
|
102
112
|
}
|
|
103
113
|
|
|
104
114
|
if (supportsApiLevel17(this.opts.platformVersion, this.opts.platformName)) {
|
|
115
|
+
if (hasAltitude) {
|
|
116
|
+
this.log.warn(`The altitude value is only supported on simulators, thus it is going to be ignored`);
|
|
117
|
+
}
|
|
105
118
|
this.log.info(`Proxying to mobile:setSimulatedLocation method for iOS 17+`);
|
|
106
119
|
await this.mobileSetSimulatedLocation(latitudeNumber, longitudeNumber);
|
|
107
120
|
} else {
|
package/lib/method-map.ts
CHANGED
|
@@ -3,13 +3,6 @@ import type {MethodMap} from '@appium/types';
|
|
|
3
3
|
import type {XCUITestDriver} from './driver.js';
|
|
4
4
|
|
|
5
5
|
export const newMethodMap = {
|
|
6
|
-
'/session/:sessionId/timeouts/implicit_wait': {
|
|
7
|
-
POST: {
|
|
8
|
-
command: 'implicitWait',
|
|
9
|
-
payloadParams: {required: ['ms']},
|
|
10
|
-
deprecated: true,
|
|
11
|
-
},
|
|
12
|
-
},
|
|
13
6
|
'/session/:sessionId/window/:windowhandle/size': {
|
|
14
7
|
GET: {
|
|
15
8
|
command: 'getWindowSize',
|
|
@@ -56,7 +49,10 @@ export const newMethodMap = {
|
|
|
56
49
|
'/session/:sessionId/appium/device/hide_keyboard': {
|
|
57
50
|
POST: {
|
|
58
51
|
command: 'hideKeyboard',
|
|
59
|
-
payloadParams: {
|
|
52
|
+
payloadParams: {
|
|
53
|
+
optional: ['strategy', 'key', 'keyCode', 'keyName'],
|
|
54
|
+
makeArgs: ({strategy, key, keyCode, keyName}) => [strategy, key, keyCode, keyName],
|
|
55
|
+
},
|
|
60
56
|
},
|
|
61
57
|
},
|
|
62
58
|
'/session/:sessionId/appium/device/lock': {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@appium/base-driver",
|
|
3
|
-
"version": "11.0.
|
|
4
|
-
"gitHead": "
|
|
3
|
+
"version": "11.0.2",
|
|
4
|
+
"gitHead": "19b5d082d57bad563511d5120ef7fd8da63788b3",
|
|
5
5
|
"description": "Base driver class for Appium drivers",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"android",
|
|
@@ -53,8 +53,8 @@
|
|
|
53
53
|
"test:types": "tsd"
|
|
54
54
|
},
|
|
55
55
|
"dependencies": {
|
|
56
|
-
"@appium/support": "^8.0.
|
|
57
|
-
"@appium/types": "
|
|
56
|
+
"@appium/support": "^8.0.2",
|
|
57
|
+
"@appium/types": "^3.0.0",
|
|
58
58
|
"asyncbox": "^7.0.0",
|
|
59
59
|
"axios": "^1.20.0",
|
|
60
60
|
"lru-cache": "^11.5.2",
|
|
@@ -3,6 +3,13 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [2.2.0](https://github.com/appium/appium-ios/compare/@appium/coresim@2.1.1...@appium/coresim@2.2.0) (2026-11-25)
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
* **coresim:** support altitude when setting the simulated location ([#245](https://github.com/appium/appium-ios/issues/245)) ([31cc046](https://github.com/appium/appium-ios/commit/31cc046edc41bad1f1368ccd6bf7d384d0d472fa))
|
|
11
|
+
|
|
12
|
+
|
|
6
13
|
## [2.1.1](https://github.com/appium/appium-ios/compare/@appium/coresim@2.1.0...@appium/coresim@2.1.1) (2026-11-21)
|
|
7
14
|
|
|
8
15
|
### Performance Improvements
|
|
@@ -4,7 +4,7 @@ declare module '../native-simctl.js' {
|
|
|
4
4
|
interface NativeSimctl {
|
|
5
5
|
getEnv(udid: string, name: string): Promise<string>;
|
|
6
6
|
openUrl(udid: string, url: string): Promise<void>;
|
|
7
|
-
setLocation(udid: string, latitude: number, longitude: number): Promise<void>;
|
|
7
|
+
setLocation(udid: string, latitude: number, longitude: number, altitude?: number): Promise<void>;
|
|
8
8
|
clearLocation(udid: string): Promise<void>;
|
|
9
9
|
pushNotification(udid: string, bundleId: string, payload: PushNotificationPayload): Promise<void>;
|
|
10
10
|
}
|
|
@@ -25,11 +25,16 @@ export declare function openUrl(this: NativeSimctl, udid: string, url: string):
|
|
|
25
25
|
/**
|
|
26
26
|
* Sets the given device's simulated GPS location.
|
|
27
27
|
*
|
|
28
|
+
* Without `altitude` apps observe an altitude of `0` whose vertical accuracy is negative, i.e. one
|
|
29
|
+
* CoreLocation itself considers invalid. With `altitude` the device is pinned to a single-location
|
|
30
|
+
* simulation scenario instead, so apps observe that altitude along with a valid vertical accuracy.
|
|
31
|
+
*
|
|
28
32
|
* @param udid — UDID of the target device
|
|
29
33
|
* @param latitude — location latitude
|
|
30
34
|
* @param longitude — location longitude
|
|
35
|
+
* @param altitude — location altitude in meters above sea level; may be negative
|
|
31
36
|
*/
|
|
32
|
-
export declare function setLocation(this: NativeSimctl, udid: string, latitude: number, longitude: number): Promise<void>;
|
|
37
|
+
export declare function setLocation(this: NativeSimctl, udid: string, latitude: number, longitude: number, altitude?: number): Promise<void>;
|
|
33
38
|
/**
|
|
34
39
|
* Stops simulating a GPS location previously set via {@link setLocation}, reverting the device to
|
|
35
40
|
* its default (no simulated location) behavior.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"interaction.d.ts","sourceRoot":"","sources":["../../../src/commands/interaction.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,YAAY,EAAC,MAAM,qBAAqB,CAAC;AACtD,OAAO,KAAK,EAAC,uBAAuB,EAAC,MAAM,aAAa,CAAC;AAGzD,OAAO,QAAQ,qBAAqB,CAAC;IACnC,UAAU,YAAY;QACpB,MAAM,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC;QACpD,OAAO,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,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;;;;;;;;;;GAWG;AACH,wBAAsB,WAAW,CAC/B,IAAI,EAAE,YAAY,EAClB,IAAI,EAAE,MAAM,EACZ,QAAQ,EAAE,MAAM,EAChB,SAAS,EAAE,MAAM,EACjB,QAAQ,CAAC,EAAE,MAAM,GAChB,OAAO,CAAC,IAAI,CAAC,CAEf;AAED;;;;;GAKG;AACH,wBAAsB,aAAa,CAAC,IAAI,EAAE,YAAY,EAAE,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAEnF;AAED;;;;;;GAMG;AACH,wBAAsB,gBAAgB,CACpC,IAAI,EAAE,YAAY,EAClB,IAAI,EAAE,MAAM,EACZ,QAAQ,EAAE,MAAM,EAChB,OAAO,EAAE,uBAAuB,GAC/B,OAAO,CAAC,IAAI,CAAC,CAEf"}
|
|
@@ -19,12 +19,17 @@ export async function openUrl(udid, url) {
|
|
|
19
19
|
/**
|
|
20
20
|
* Sets the given device's simulated GPS location.
|
|
21
21
|
*
|
|
22
|
+
* Without `altitude` apps observe an altitude of `0` whose vertical accuracy is negative, i.e. one
|
|
23
|
+
* CoreLocation itself considers invalid. With `altitude` the device is pinned to a single-location
|
|
24
|
+
* simulation scenario instead, so apps observe that altitude along with a valid vertical accuracy.
|
|
25
|
+
*
|
|
22
26
|
* @param udid — UDID of the target device
|
|
23
27
|
* @param latitude — location latitude
|
|
24
28
|
* @param longitude — location longitude
|
|
29
|
+
* @param altitude — location altitude in meters above sea level; may be negative
|
|
25
30
|
*/
|
|
26
|
-
export async function setLocation(udid, latitude, longitude) {
|
|
27
|
-
return runCatchingAsync(async () => (await this._findDevice(udid)).setLocation(latitude, longitude));
|
|
31
|
+
export async function setLocation(udid, latitude, longitude, altitude) {
|
|
32
|
+
return runCatchingAsync(async () => (await this._findDevice(udid)).setLocation(latitude, longitude, altitude));
|
|
28
33
|
}
|
|
29
34
|
/**
|
|
30
35
|
* Stops simulating a GPS location previously set via {@link setLocation}, reverting the device to
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"interaction.js","sourceRoot":"","sources":["../../../src/commands/interaction.ts"],"names":[],"mappings":"AAEA,OAAO,EAAC,gBAAgB,EAAC,MAAM,mBAAmB,CAAC;AAYnD;;;;GAIG;AACH,MAAM,CAAC,KAAK,UAAU,MAAM,CAAqB,IAAY,EAAE,IAAY;IACzE,OAAO,gBAAgB,CAAC,KAAK,IAAI,EAAE,CAAC,CAAC,MAAM,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC;AACnF,CAAC;AAED;;;;;GAKG;AACH,MAAM,CAAC,KAAK,UAAU,OAAO,CAAqB,IAAY,EAAE,GAAW;IACzE,OAAO,gBAAgB,CAAC,KAAK,IAAI,EAAE,CAAC,CAAC,MAAM,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC;AACnF,CAAC;AAED
|
|
1
|
+
{"version":3,"file":"interaction.js","sourceRoot":"","sources":["../../../src/commands/interaction.ts"],"names":[],"mappings":"AAEA,OAAO,EAAC,gBAAgB,EAAC,MAAM,mBAAmB,CAAC;AAYnD;;;;GAIG;AACH,MAAM,CAAC,KAAK,UAAU,MAAM,CAAqB,IAAY,EAAE,IAAY;IACzE,OAAO,gBAAgB,CAAC,KAAK,IAAI,EAAE,CAAC,CAAC,MAAM,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC;AACnF,CAAC;AAED;;;;;GAKG;AACH,MAAM,CAAC,KAAK,UAAU,OAAO,CAAqB,IAAY,EAAE,GAAW;IACzE,OAAO,gBAAgB,CAAC,KAAK,IAAI,EAAE,CAAC,CAAC,MAAM,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC;AACnF,CAAC;AAED;;;;;;;;;;;GAWG;AACH,MAAM,CAAC,KAAK,UAAU,WAAW,CAE/B,IAAY,EACZ,QAAgB,EAChB,SAAiB,EACjB,QAAiB;IAEjB,OAAO,gBAAgB,CAAC,KAAK,IAAI,EAAE,CAAC,CAAC,MAAM,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC,CAAC,WAAW,CAAC,QAAQ,EAAE,SAAS,EAAE,QAAQ,CAAC,CAAC,CAAC;AACjH,CAAC;AAED;;;;;GAKG;AACH,MAAM,CAAC,KAAK,UAAU,aAAa,CAAqB,IAAY;IAClE,OAAO,gBAAgB,CAAC,KAAK,IAAI,EAAE,CAAC,CAAC,MAAM,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC,CAAC,aAAa,EAAE,CAAC,CAAC;AACtF,CAAC;AAED;;;;;;GAMG;AACH,MAAM,CAAC,KAAK,UAAU,gBAAgB,CAEpC,IAAY,EACZ,QAAgB,EAChB,OAAgC;IAEhC,OAAO,gBAAgB,CAAC,KAAK,IAAI,EAAE,CAAC,CAAC,MAAM,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC,CAAC,oBAAoB,CAAC,QAAQ,EAAE,OAAO,CAAC,CAAC,CAAC;AAC9G,CAAC"}
|
|
@@ -395,7 +395,7 @@ export interface NativeDeviceHandle {
|
|
|
395
395
|
propertiesOfApplication(bundleId: string): Promise<Record<string, unknown>>;
|
|
396
396
|
installedApps(): Promise<Record<string, unknown>>;
|
|
397
397
|
openUrl(url: string): Promise<void>;
|
|
398
|
-
setLocation(latitude: number, longitude: number): Promise<void>;
|
|
398
|
+
setLocation(latitude: number, longitude: number, altitude?: number): Promise<void>;
|
|
399
399
|
clearLocation(): Promise<void>;
|
|
400
400
|
isDuo(): Promise<boolean>;
|
|
401
401
|
pressHidButton(page: number, usage: number, duration: number): Promise<void>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/types.ts"],"names":[],"mappings":"AAAA,0EAA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,MAAM,CAAC,CAAC;IACpC;;;;;OAKG;IACH,mBAAmB,IAAI,IAAI,CAAC;CAC7B"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@appium/coresim",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.2.0",
|
|
4
4
|
"description": "Native bindings to CoreSimulator.framework for Apple platform simulator control",
|
|
5
5
|
"homepage": "https://appium.io",
|
|
6
6
|
"bugs": {
|
|
@@ -64,5 +64,5 @@
|
|
|
64
64
|
"npm": ">=10"
|
|
65
65
|
},
|
|
66
66
|
"gypfile": true,
|
|
67
|
-
"gitHead": "
|
|
67
|
+
"gitHead": "60dddf7a64a1ec536100e8e41d79d737113f22a3"
|
|
68
68
|
}
|
|
Binary file
|
|
@@ -6,7 +6,7 @@ declare module '../native-simctl.js' {
|
|
|
6
6
|
interface NativeSimctl {
|
|
7
7
|
getEnv(udid: string, name: string): Promise<string>;
|
|
8
8
|
openUrl(udid: string, url: string): Promise<void>;
|
|
9
|
-
setLocation(udid: string, latitude: number, longitude: number): Promise<void>;
|
|
9
|
+
setLocation(udid: string, latitude: number, longitude: number, altitude?: number): Promise<void>;
|
|
10
10
|
clearLocation(udid: string): Promise<void>;
|
|
11
11
|
pushNotification(udid: string, bundleId: string, payload: PushNotificationPayload): Promise<void>;
|
|
12
12
|
}
|
|
@@ -34,17 +34,23 @@ export async function openUrl(this: NativeSimctl, udid: string, url: string): Pr
|
|
|
34
34
|
/**
|
|
35
35
|
* Sets the given device's simulated GPS location.
|
|
36
36
|
*
|
|
37
|
+
* Without `altitude` apps observe an altitude of `0` whose vertical accuracy is negative, i.e. one
|
|
38
|
+
* CoreLocation itself considers invalid. With `altitude` the device is pinned to a single-location
|
|
39
|
+
* simulation scenario instead, so apps observe that altitude along with a valid vertical accuracy.
|
|
40
|
+
*
|
|
37
41
|
* @param udid — UDID of the target device
|
|
38
42
|
* @param latitude — location latitude
|
|
39
43
|
* @param longitude — location longitude
|
|
44
|
+
* @param altitude — location altitude in meters above sea level; may be negative
|
|
40
45
|
*/
|
|
41
46
|
export async function setLocation(
|
|
42
47
|
this: NativeSimctl,
|
|
43
48
|
udid: string,
|
|
44
49
|
latitude: number,
|
|
45
50
|
longitude: number,
|
|
51
|
+
altitude?: number,
|
|
46
52
|
): Promise<void> {
|
|
47
|
-
return runCatchingAsync(async () => (await this._findDevice(udid)).setLocation(latitude, longitude));
|
|
53
|
+
return runCatchingAsync(async () => (await this._findDevice(udid)).setLocation(latitude, longitude, altitude));
|
|
48
54
|
}
|
|
49
55
|
|
|
50
56
|
/**
|
|
@@ -35,6 +35,7 @@
|
|
|
35
35
|
#include "native/sim_duo.h"
|
|
36
36
|
#include "native/sim_hid.h"
|
|
37
37
|
#include "native/sim_jpeg_stream.h"
|
|
38
|
+
#include "native/sim_location.h"
|
|
38
39
|
#include "native/sim_orientation.h"
|
|
39
40
|
#include "native/sim_pasteboard.h"
|
|
40
41
|
#include "native/sim_process.h"
|
|
@@ -80,6 +81,27 @@ double HIDNumberArg(const Napi::CallbackInfo& info, size_t index, const char* na
|
|
|
80
81
|
return value;
|
|
81
82
|
}
|
|
82
83
|
|
|
84
|
+
// A NaN or infinite coordinate is not rejected by CoreSimulator: it becomes the device's simulated
|
|
85
|
+
// position, which apps then receive as an invalid location.
|
|
86
|
+
double FiniteNumberArg(const Napi::CallbackInfo& info, size_t index, const char* name) {
|
|
87
|
+
if (index >= info.Length() || !info[index].IsNumber() ||
|
|
88
|
+
!std::isfinite(info[index].As<Napi::Number>().DoubleValue())) {
|
|
89
|
+
throw Napi::TypeError::New(info.Env(), std::string(name) + " must be a finite number");
|
|
90
|
+
}
|
|
91
|
+
return info[index].As<Napi::Number>().DoubleValue();
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
// An out-of-range coordinate is not rejected by CoreSimulator either, but locationd then silently
|
|
95
|
+
// drops it, so apps keep receiving the previous location.
|
|
96
|
+
double CoordinateArg(const Napi::CallbackInfo& info, size_t index, const char* name, int limit) {
|
|
97
|
+
double value = FiniteNumberArg(info, index, name);
|
|
98
|
+
if (value < -limit || value > limit) {
|
|
99
|
+
throw Napi::TypeError::New(
|
|
100
|
+
info.Env(), std::string(name) + " must be between -" + std::to_string(limit) + " and " + std::to_string(limit));
|
|
101
|
+
}
|
|
102
|
+
return value;
|
|
103
|
+
}
|
|
104
|
+
|
|
83
105
|
// Throws if `!ok && error`, for the common BOOL-returning NSError**-out-param shape — called from
|
|
84
106
|
// inside a RunAsync/RunAsyncVoid work lambda (background thread), never from the main thread.
|
|
85
107
|
void ThrowIfFailed(BOOL ok, NSError* error) {
|
|
@@ -825,11 +847,17 @@ class NativeDevice : public Napi::ObjectWrap<NativeDevice> {
|
|
|
825
847
|
|
|
826
848
|
Napi::Value SetLocation(const Napi::CallbackInfo& info) {
|
|
827
849
|
id device = device_;
|
|
828
|
-
double latitude = info
|
|
829
|
-
double longitude = info
|
|
830
|
-
|
|
850
|
+
double latitude = CoordinateArg(info, 0, "latitude", 90);
|
|
851
|
+
double longitude = CoordinateArg(info, 1, "longitude", 180);
|
|
852
|
+
// The altitude is optional: without it the plain latitude/longitude API is used, which reports
|
|
853
|
+
// an altitude of 0 with an invalid vertical accuracy.
|
|
854
|
+
bool hasAltitude = info.Length() > 2 && !info[2].IsUndefined() && !info[2].IsNull();
|
|
855
|
+
double altitude = hasAltitude ? FiniteNumberArg(info, 2, "altitude") : 0;
|
|
856
|
+
return RunAsyncVoid(info.Env(), [device, latitude, longitude, hasAltitude, altitude]() {
|
|
831
857
|
NSError* error = nil;
|
|
832
|
-
|
|
858
|
+
BOOL ok = hasAltitude ? coresim::SetLocationWithAltitude(device, latitude, longitude, altitude, &error)
|
|
859
|
+
: coresim::SetLocation(device, latitude, longitude, &error);
|
|
860
|
+
ThrowIfFailed(ok, error);
|
|
833
861
|
});
|
|
834
862
|
}
|
|
835
863
|
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
#pragma once
|
|
2
|
+
|
|
3
|
+
#import <Foundation/Foundation.h>
|
|
4
|
+
|
|
5
|
+
namespace coresim {
|
|
6
|
+
|
|
7
|
+
// Pins the device to a stationary simulated location that, unlike SetLocation() (sim_device.h),
|
|
8
|
+
// also carries an altitude.
|
|
9
|
+
//
|
|
10
|
+
// -[SimDevice setLocationWithLatitude:andLongitude:error:] has no altitude parameter, and the
|
|
11
|
+
// in-simulator handler builds its CLLocation from latitude/longitude alone, so the altitude apps
|
|
12
|
+
// observe through it is always 0 with a negative (invalid) vertical accuracy. Location *scenarios*
|
|
13
|
+
// are not limited that way: a scenario is a property list whose `Locations` array holds
|
|
14
|
+
// keyed-archived CLLocation objects, which the simulator's locationd unarchives and replays
|
|
15
|
+
// verbatim. This writes a single-location scenario and loads it with
|
|
16
|
+
// -[SimDevice(SimLocation) setLocationScenarioWithPath:error:].
|
|
17
|
+
//
|
|
18
|
+
// The simulated location stays in effect until it is replaced by another SetLocation*() call or
|
|
19
|
+
// reset with ClearLocation().
|
|
20
|
+
BOOL SetLocationWithAltitude(id device, double latitude, double longitude, double altitude, NSError** error);
|
|
21
|
+
|
|
22
|
+
} // namespace coresim
|