npm / appium-uiautomator2-driver
appium-uiautomator2-driver
What changed in appium-uiautomator2-driver 3 to 9, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-27.
49 breaking1 deprecations14 new APIs and options21 behavior and defaults4 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli initappium-uiautomator2-driver 97 changes
Breaking changes 3
The driver now requires Appium >=4.0.0-beta.0.
The driver now requires appium-android-driver.
Node 20 support is dropped; the minimum is now ^22.22.2 || ^24.15.0 || >=26.0.0.
New APIs and options 2
Screen media can now be streamed over BiDi.
Adds the enableAccessibilityEventsService capability.
Fixes and other changes 2
The autoLaunch cap is brought back.
Obsolete sessions are dropped from the server list when an IPC session is claimed.
appium-uiautomator2-driver 87 changes
Breaking changes 2
The minimum required appium-uiautomator2-server version was raised, affecting which server versions developers can use with this driver.
The package now publishes as ESM only; CommonJS consumers must migrate from require to ESM import.
Deprecations 1
BaseDriver.getSession is marked deprecated.
New APIs and options 3
Adds a command to translate web element rects to native coordinates.
Adds API plumbing for declaredOrientation, allowing it to be used with the driver.
The driver now supports chromedriverGrantPermissions through its Android driver update.
Behavior and default changes 1
Exposes the webview on-screen rect via mobile: getContexts.
appium-uiautomator2-driver 73 changes
Breaking changes 2
Obsolete sessions are automatically terminated using the device ID to be claimed by the current session.
The mobile:listApps response format now follows the XCUITest driver format, which may require updating consumers.
New APIs and options 1
Adds the mobile: setStylusHandwriting command, available behind a security flag.
appium-uiautomator2-driver 612 changes
Breaking changes 3
Reverts the change that modified the listApps format to follow the xcuitest format.
The listApps output format was changed to follow the XCUITest format.
Support for Android API levels below 26 (Oreo) was dropped.
New APIs and options 7
Adds the mobile:listApps command.
Adds a source parameter to the mobile: pressKey extension method.
Adds a capability that enables the -a option for adb.
Adds a flag that enables the -a option for adb.
Adds the mobile: listWindows execute method.
Adds the mobile: resetAccessibilityCache API.
Adds context for the BiDi log.entryAdded event.
Fixes and other changes 2
The endpoint now properly handles virtual display ids.
The custom endpoint now includes the missing /appium prefix.
appium-uiautomator2-driver 53 changes
Breaking changes 3
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.
appium-uiautomator2-driver 449 changes
Breaking changes 28
Removed obsolete type definition.
Removed obsolete type definition.
Removed obsolete type definition.
Removed obsolete type definition.
Removed obsolete type definition.
Removed obsolete type definition.
Removed obsolete type definition.
Removed in favor of execute; the script argument must start with mobile: .
Removed obsolete type definition.
Removed obsolete type definition.
Removed obsolete type definition.
Removed obsolete type definition.
Removed; use executeMethodsMap instead.
Changed in this release.
Removed; use getStrings instead.
Removed; use getClipboard instead.
Changed in this release.
Removed; use setClipboard instead.
Removed obsolete type definition.
Removed obsolete type definition.
Removed obsolete type definition.
Removed obsolete type definition.
Removed obsolete type definition.
Removed obsolete type definition.
Removed obsolete type definition.
Removed obsolete type definition.
Removed obsolete type definition.
Removed obsolete type definition.
New APIs and options 1
Added support for executeMethodMap.
Behavior and default changes 20
Changed in this release.
Changed in this release.
Changed in this release.
Changed in this release.
Changed in this release.
Changed in this release.
Changed in this release.
Changed in this release.
Changed in this release.
Changed in this release.
Changed in this release.
Changed in this release.
Changed in this release.
Changed in this release.
Changed in this release.
Changed in this release.
Changed in this release.
Changed in this release.
Changed in this release.
Changed in this release.
appium-uiautomator2-driver 38 changes
Breaking changes 8
The obsolete MJSONWP touch route handler was removed; use W3C actions or gesture shortcuts instead.
The obsolete MJSONWP touch route handler was removed; use W3C actions or gesture shortcuts instead.
The obsolete MJSONWP touch route handler was removed; use W3C actions or gesture shortcuts instead.
The obsolete MJSONWP touch route handler was removed; use W3C actions or gesture shortcuts instead.
The obsolete MJSONWP touch route handler was removed; use W3C actions or gesture shortcuts instead.
The obsolete MJSONWP touch route handler was removed; use W3C actions or gesture shortcuts instead.
The obsolete MJSONWP touch route handler was removed; use W3C actions or gesture shortcuts instead.
The obsolete MJSONWP touch route handler was removed; use W3C actions or gesture shortcuts instead.