Appium 1.8.1 Release


#1

Appium 1.8.1 introduces multiple fixes and features. Most notably, it improves the performance of XCUITest
getPageSource.

General

  • Fix shrinkwrap problem caused due to package-lock being set to false (#10660)

iOS

Android

  • Return the current connection state instead of undefined for setNetworkConnection
  • Add a possibility to include stderr output into adb:shell call (see https://github.com/appium/appium/blob/master/docs/en/writing-running-appium/android/android-shell.md#supported-arguments)
  • Add flags argument to pressKeyCode so it is possible to generate IME actions if needed (UIAutomator2 only)
  • Add a cap called userProfile which is an integer to enforce user profile while launching applications
  • Make it possible to retrieve a battery info from the device under test (mobile:batteryInfo)
  • Add deviceApiLevel to returned session capabilities (UIAutomator2 only)
  • Fix passing suppressKillServer option while creating ADB instance
  • Improve performance of swipe unlock action
  • Improve restore from background behaviour

#2

"Add flags argument to pressKeyCode so it is possible to generate IME actions if needed "
Which flags can I add and where?
I work with webdriver.io