Appium 1.18.0 is a minor release
General
- Add
score
attribute for ImageElement appium-base-driver#396 - Add a route to be able to execute Chrome DevTools commands to downstream drivers appium-base-driver#405
- e.g. Clients can send
/session/:sessionId/goog/cdp/execute
command to Chromedriver
- e.g. Clients can send
- Fix socket leak by handling connections in a shared pool appium-base-driver#416
- Fix to encode filenames with UTF-8 while extracting
.ipa
packages appium-base-driver#419- The change fixes
.ipa
packages deployment that contain file names containing non-ASCII characters like this issue
- The change fixes
Android General
- Add capabilities:
mockLocationApp
to make location mock configurable appium-android-driver#632logcatFormat
,logcatFilterSpecs
to allow logcat output format customization appium-adb#528ignoreHiddenApiPolicyError
to ignore permission error when hidden api policy change happens appium-adb#507
- Add
mobile:
functions:mobile: getDeviceTime
to get the device time appium-android-driver#623mobile: execEmuConsoleCommand
to send emulator console commands appium-android-driver#517 #630mobile: deleteFile
to delete a file appium-android-driver#634mobile: startService
andmobile: stopService
to start or stop services via adb shell commands appium-android-driver#647
- Add including native context log for getLog command appium-android-driver#646
- Fix tapping by element coordinate appium-android-driver#355
Android (UiAutomator2)
- Add capabilities:
disableSuppressAccessibilityService
to control FLAG_DONT_SUPPRESS_ACCESSIBILITY_SERVICES flag appium-uiautomator2-driver#376
waitForLaunchmjpegServerPort
to customize MJPEG server port appium-uiautomator2-driver#386
- Add
mobile:
functions:mobile: sensorSet
to set sensor appium-uiautomator2-driver#378mobile: scroll
to allow to scroll action in some ways. Please read appium-uiautomator2-driver for more details. appium-uiautomator2-driver#385mobile: deepLink
to send deeplink command withwaitForLaunch
option to handle the wait for logic appium-uiautomator2-driver#389mobile: viewportRect
to return view port rectangle appium-uiautomator2-driver#404
- Known issue
- #14586: Root element fix might affect XPath locators executed on elements, retrieved from nested lookup requests (the document root for such elements is now the element itself rather than a fake
hierarchy
root)
- #14586: Root element fix might affect XPath locators executed on elements, retrieved from nested lookup requests (the document root for such elements is now the element itself rather than a fake
Android (Espresso)
- Add capabilities:
disableSuppressAccessibilityService
to control FLAG_DONT_SUPPRESS_ACCESSIBILITY_SERVICES flag appium-espresso-driver#559appLocale
to set Locale for the target context appium-espresso-driver#580
- Add
mobile:
functions:mobile: sensorSet
to set sensor appium-espresso-driver
iOS (XCUITest)
- Add Xcode 12 beta and iOS 14 support
- Add settings:
boundElementsByIndex
for bounding strategy to lookup elements WebDriverAgent#357
- Add XCTest
mobile:
functions: appium-xcuitest-driver#1205. Please read test code as an example.mobile: runXCTest
to run XCTest bundlemobile: installXCTestBundle
to install the xctest bundlemobile: listXCTestBundles
to get list of xctests within bundlemobile: listXCTestsInTestBundle
to return the list of XCTest bundles
- Add audio recording for simulators and real devices appium-xcuitest-driver#1207
- Add prebuilt WebDriverAgentRunner snapshots to speed up tests execution on iOS Simulator in
appium-webdriveragend
npm package WebDriverAgent#331- The path is
appium/node_modules/appium-webdriveragend/WebDriverAgentRunner-Runner.app.zip
- The usage is:
idb install /WebDriverAgentRunner-Runner.app --udid <device-udid> idb launch com.facebook.WebDriverAgentRunner.xctrunner
- The path is
- Fix a memory leak by removing unnecessary dependencies WebDriverAgent#348 WebDriverAgent#350 WebDriverAgent#351
- Fix respecting
webDriverAgentUrl
in favor ofwdaLocalPort
andwdaBaseUrl
for real devices WebDriverAgent#342 - Fix ignoring the case where process locking the socket is not alive WebDriverAgent#339
- Fix to improve alert buttons detection WebDriverAgent#322
Windows
- Add video recording appium-windows-driver#66
- Add findByImage appium-windows-driver#67