npm / appium-xcuitest-driver
appium-xcuitest-driver
What changed in appium-xcuitest-driver 5 to 13, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-30.
77 breaking1 security3 deprecations47 new APIs and options1 performance17 behavior and defaults2 tooling86 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli initappium-xcuitest-driver 1351 changes
Breaking changes 26
The driver now requires Appium >=4.0.0-beta.0.
The endpoint is gone; use the corresponding mobile: extensions to manage app state.
The driver no longer uses appium-ios-device; real devices use appium-ios-remotexpc, preferring a tunnel and falling back to usbmux.
The environment variable has no effect because bsdtar and system unzip are no longer used.
This capability has been removed and can no longer be configured.
This capability no longer has an effect on real devices.
The command and POST /timeouts/async_script route were removed; use setScriptTimeout instead.
The driver property has been removed; use the base driver's scriptTimeoutMs instead.
The command and POST /appium/app/close route were removed; use mobile: terminateApp instead.
Script execution now honors the timeout set by the client; a zero or too-short timeout causes scripts to time out.
For a new session, the response reports script as null instead of 0.
This no-op driver method has been removed.
This no-op driver method has been removed.
This no-op driver method has been removed.
This no-op driver method has been removed.
This no-op driver method has been removed.
The deprecated driver property has been removed.
The command and POST /appium/app/launch route were removed; use mobile: launchApp instead.
It always returns false on real devices below iOS/tvOS 17 and on Linux/Windows hosts without a tunnel because the instruments service is gone.
This setting had no effect and is no longer accepted.
This setting had no effect and is no longer accepted.
Node 20 support was dropped; the minimum is now ^22.22.2 || ^24.15.0 || >=26.0.0.
Setting geolocation on real devices below iOS/tvOS 17 is no longer supported because the lockdown simulate-location service is gone.
This setting had no effect and is no longer accepted.
The undocumented method was removed; driver subclasses that called it should use this.remote.executeAtomAsync followed by this.waitForAtom.
Non-UTF-8-flagged zip file names are decoded as utf8; cp437 is no longer supported.
Deprecations 1
The mobile command is deprecated.
New APIs and options 4
Retained Web Inspector settings are now exposed.
Support was added for increasing contrast and content size on real devices.
The command now accepts a timeoutMs argument.
Adds an execute method for retrieving pressable buttons.
Fixes and other changes 20
Asyncbox condition-unmet errors are now matched by code.
Passes the device certificate to the lockdown tunnel.
Native Back is handled across Duo navigation layouts.
WDA hinge correction is now applied to simulated angle commands.
Attaches the calibration overlay to the root element.
Native element property requests are routed through the driver.
The initial page-load timeout is applied before backend startup.
Compatibility with beta capability and timeout types was restored.
Capability constraints removed from the base driver were restored.
Unquoted and RFC 5987 Content-Disposition filenames are now parsed.
A running screen recording is stopped when forceRestart is set.
New crash reports are no longer dropped.
Syslog is now broadcast to every logs websocket client.
Picker wheel value and maxAttempts are now forwarded to beta.
The driver falls back to lower WDA versions when the prebuilt archive is not published yet.
Crash reports are exported without re-walking the device tree.
The driver now waits for a promise returned by a script in a Safari web context.
Initial script and pageLoad timeouts are synchronized when a session starts or restarts.
WDA is now the source of truth for its settings.
Stops stale remote debugger listeners when switching webview contexts.
appium-xcuitest-driver 1274 changes
Breaking changes 20
Supported HID and protected resource values were updated, changing which values developers can use.
Replaces native web tap heuristics with automatic coordinate calibration, changing how native web taps are positioned.
allocateMjpegServerPort is no longer callable as driver.allocateMjpegServerPort(...).
The package no longer ships a CommonJS entry point; consumers must use import or dynamic import() instead of require().
configureApp is no longer callable as driver.configureApp(...).
createSim has been removed; it was already deprecated.
determineDevice is no longer callable as driver.determineDevice(...).
getDefaultUrl is no longer callable as driver.getDefaultUrl(...).
handleMjpegOptions is no longer callable as driver.handleMjpegOptions(...).
installAUT is no longer callable as driver.installAUT(...).
installOtherApps is no longer callable as driver.installOtherApps(...).
isXcodebuildNeeded is no longer callable as driver.isXcodebuildNeeded(...).
mergeCliArgsToOpts is no longer callable as driver.mergeCliArgsToOpts(...).
onSettingsUpdate is no longer callable as driver.onSettingsUpdate(...).
resetIos is no longer callable as driver.resetIos(...).
runReset is no longer callable as driver.runReset(...).
setInitialOrientation is no longer callable as driver.setInitialOrientation(...).
start is no longer callable as driver.start(...).
startWdaSession is no longer callable as driver.startWdaSession(...).
stop is no longer callable as driver.stop(...).
Security 1
Refuses to delete the Simulator root, preventing deletion of the root directory through this command.
New APIs and options 16
Adds the keyboardWaitTimeout setting.
Selected simulator displays can now be captured through a CoreSim fallback.
Adds the asAppUnderTest flag to the mobile: launchApp command.
Adds multi-display discovery for Duo support.
Adds safe screenshot routing for Duo support.
Adds a command to simulate the Duo hinge angle.
WDA can now be launched on Duo.
Adds support for a connect hardware preference for Device Hub.
Adds support for simulatorPasteboardAutomaticSync, allowing developers to configure simulator pasteboard synchronization.
Adds native Safari automation support.
Adds the mobile: performHandGesture command for watchOS.
Adds the mobile: rotateDigitalCrown command for watchOS.
The TS driver now supports watchOS.
Adds customizable exponential backoff for tunnel reconnect retries.
Adds mobile extensions for DVT sysmontap system monitoring.
Adds codegraph support.
Performance 1
Finds the first visible child with a single class chain query, improving performance.
Behavior and default changes 3
Duo simulator HID controls are routed through the host.
W3C actions resolve web element origins to native coordinates.
Native web taps now work inside same-origin iframes.
Fixes and other changes 33
Internal native lookups no longer wait for the implicit timeout.
Temporary files are removed when performance recording start or upload fails, preventing leftover files.
Preserves iOS 27 webview interaction history.
Recording padding is preserved when MJPEG frame geometry changes.
The screen recorder is retained and cleaned up after a stop failure.
Preserves calibrated scale and viewport origin for native web taps.
WDA downloads are resolved from the monorepo release.
Web element screenshots now capture the whole element.
Tunnel creation now exits on Ctrl+C.
Apple TV tunnels are tracked by pair record UDID.
Preserves the recording aspect ratio and input frame rate.
Passes value and maxAttempts to WDA when calling mobile: selectPickerWheelValue.
Refreshes display geometry for viewport screenshots.
Preserves app iframe selection after native tap calibration.
Explicit orientation correction is now honored for MJPEG screenshots.
Native geometry is now included in the web calibration cache.
Tunnel and legacy device discovery are merged.
WDA was bumped to fix package creation with Xcode 26+.
Fixed error handling in grepFile.
Passes ActivateSuspended: true to host opts when backgrounding WDA.
UDID capabilities are now matched case-insensitively across remaining device and simulator lookups.
Matches an explicit udid capability against connected devices case-insensitively.
Forwards the network event method name to the Safari network log listener.
Resolves nested .ipa paths when downloading a remote .zip on real devices.
When pulling a container root on real devices, the driver no longer zips the host temp directory.
The driver now owns the legacy MJSONWP context/contexts routes.
Routes refresh, getUrl, and title through waitForAtom for alert detection.
Session creation failures now log the real error, making failures easier to diagnose.
The devicectl launch fallback is disabled for preinstalled WDA on iOS/tvOS 27+.
Implicit wait is now honored for findElements in web contexts.
Hung performance recordings are force-killed.
closeWindow now returns the remaining window handles per the W3C spec.
Hardened MJPEG frame parsing and stream startup, improving the handling of MJPEG streams.
appium-xcuitest-driver 1144 changes
Breaking changes 15
Obsolete sessions are automatically terminated using the device id claimed by the current session.
This capability is removed.
The driver drops appium-idb support.
This capability is removed along with appium-idb support.
This capability and its related WDA visibility-detection wiring are removed because WebDriverAgent v12 no longer supports the underlying options.
This is the only context-change method emitted after the legacy BiDi method is dropped.
The legacy BiDi method is no longer emitted on context changes; only appium:xcuitest.contextUpdated is emitted.
AsyncPromise is removed from driver state.
Using certificate and crash-report paths on real devices requires the appium-ios-remotexpc setup.
The legacy asynchronous callback flow is removed; async atoms use the remote debugger promise and waitForAtom only.
This mobile command is removed.
The driver drops the py-ios-device client.
The POST endpoint for receiving asynchronous responses is removed.
This capability is removed because WDA quiescence is fixed; tune idle behavior with appium:waitForIdleTimeout.
XCTest mobile helpers are limited to real devices on iOS/tvOS 18+ with appium-ios-remotexpc; logic XCTests and bare .xctest install via old stacks are unsupported.
New APIs and options 8
The API was extended; the notes do not specify the details of the extension.
Adds the
mobile: performIndigoHidEventextension method.The Apple TV discovery timeout is configurable.
Adds mobile wrappers for VoiceOver.
Adds a resign task for resigning apps.
Adds the download-wda command.
Adds a mobile wrapper to start screen recording.
Adds a mobile wrapper to stop screen recording.
Behavior and default changes 4
The API was extended; the notes do not specify the details of the extension.
Driver startup logic is tightened based on the host platform.
IPA installation and upgrades now use the zip_conduit service.
Incorporates RSD isolation after the remotexpc bump.
Fixes and other changes 17
Updates WDA to include a fix for mjpegScalingFactor.
Bumped WDA to fix lock screen behavior for iOS 27.
The root assertion now runs only after argument parsing is finished.
Adds support for platform abstraction in WDA.
The tunnel process now exits after an unexpected error, preventing it from remaining running.
Improves logging during tunnel creation, making tunnel setup activity easier to observe.
WDA was bumped to version 14 to support builds with Xcode 27.
Fixes the video attachments path for Xcode 26.5 and later.
Performance logging was added to real device app installation.
Error handling related to tunnel availability was tuned.
WDA cleanup was tuned; the notes do not specify further details.
Fixes the error embedding the app icon into Runner.app during a WDA build.
Fixed the barrel export loop.
Redundant RSD connections in AfcClient are removed to prevent ECONNRESET.
Fixes tunnels cleanup.
Attachment deletion now logs a warning instead of throwing an error.
Handles EPIPE for bsdtar, improving behavior when that error occurs.
appium-xcuitest-driver 1056 changes
Breaking changes 9
Pairing and tunnel creation scripts now run as root.
XCTest bundles are executed using remotexpc.
Port forwarding now prefers remotexpc, changing which implementation the driver uses.
Connected devices are now fetched from tunnels along with the legacy algorithm.
AFC and House Arrest use remotexpc on iOS 18 and later.
The unused getUserInstalledBundleIdsByBundleName API was removed.
The required Appium server version is now >=3.0.0-rc.2, updating server compatibility for Appium 3.
The required Node.js version is now ^20.19.0 || ^22.12.0 || >=24.0.0.
The required npm version is now >=10.
Deprecations 2
The mobile: listXCTestsInTestBundle command is deprecated.
The launchWithIDB capability is deprecated.
New APIs and options 19
Adds a dedicated script to clean up stale native videos on real devices.
Adds appinfo support to mobile: simctl.
Adds listapps support to mobile: simctl.
Requests can now ask for multiple tunnels at once.
Adds extensions for listening to device network events.
Implements shim syslog for device logging.
Adds a script for pairing AppleTV over WiFi.
Adds shim web inspector support through appium-remote-debugger.
Adds the snapshotMaxChildren setting.
Adds support for 2 iOS and 6 tvOS buttons.
Adds the appium:ignoredWebviewBundleIds capability.
listApps now supports retrieving specific attributes.
A shim notification proxy and unified notification client are implemented, providing a unified way to handle notifications.
Implements certificate shim functionality.
Adds the enforceCustomSnapshots setting.
Adds this environment variable for the app installed check as well.
Adds support for the condition inducer DVT service via remotexpc.
Adds context for BiDi LogEntrySource.
Command exports were made more straightforward, changing how developers access exported commands.
Behavior and default changes 9
The driver uses remotexpc to delete stale native video recordings.
Watchdog logic was added to the tunnel creation script.
Platform version is now retrieved from remotexpc.
Device info is now fetched using remote-xpc.
Created tunnels now include wireless Apple TV devices.
terminateApp now uses remotexpc to terminate apps.
Uses remotexpc for installation when running on iOS 18 or later.
Crash reports use remotexpc on iOS 18 and later.
Switches to devicectl module usage.
Tooling 2
A helper script lists connected real devices.
Doctor checks now cover remotexpc, helping developers diagnose its setup.
Fixes and other changes 15
Fixes cleanup immediately at the end of tunnel creation.
Certificate installation now uses remotexpc as the main option.
Fixes Strongbox usage in the tunnel creation script.
Tunnels that are still running are force-killed.
Cleanup logic in the tunnel creation script was updated.
The mobile scroll distance is sent only for the direction strategy.
Makes remote debugger options explicit.
Restores the legacy method of killing a process.
The terminateApp logic was simplified.
Fixes app installation on real devices.
The API removal was reverted, so getUserInstalledBundleIdsByBundleName remains available.
Falls back to an existing method; the notes do not specify further details.
Prevents raising an error in a Safari session.
The mobile: resetLocationService endpoint was updated.
Uses devicectl when listing available device UDIDs.
appium-xcuitest-driver 92 changes
Breaking changes 1
The deprecated driver method was removed.
Behavior and default changes 1
Size retrieval now uses the W3C window/rect endpoint.
appium-xcuitest-driver 81 changes
Breaking changes 1
Removed the customSnapshotTimeout setting as a result of the WDA upgrade to v9.
appium-xcuitest-driver 71 changes
Breaking changes 1
The obsolete API was removed.
appium-xcuitest-driver 62 changes
Breaking changes 1
The unused getCoordinates API was removed.
Fixes and other changes 1
The WDA update includes fixes for active application detection.
appium-xcuitest-driver 53 changes
Breaking changes 3
The API no longer returns extra driver-specific data such as statBarHeight, pixelRatio, and viewportRect.
The capability has no effect now.
The obsolete API now throws an error when invoked.