Edit this Doc Scroll / Swipe actions tutorial

Android vs iOS UI differences

Appium uses XCUITest driver for iOS and UIAutomator2, Espresso for Android. The default driver for Android is UIAutomator2.

With default driver settings we can see elements outside of the view port on iOS, but cannot interact with them. We can check their values, but touches are not reliable. Android UIAutomator2 with default settings allows you to see only elements located in the current view port. Android 'Espresso' TODO. These behaviors/limitations coming from Apple XCUITest and Google UIAutomator2 frameworks.

While interacting with elements you should always keep in mind these differences.

Simple swipe actions

  1. Screen swipe
  2. Element swipe
  3. Partial Screen swipe

W3C Actions help to build advanced gestures.

Android: 'UIScrollable' swipe

  1. Simple example
  2. Multiple scroll views example
  3. Add scroll layout
  4. Tricks and Tips

iOS: 'mobile:scroll', 'mobile:swipe' swipe

  1. Screen swipe
  2. Element swipe
  3. Element search swipe

iOS: 'pickerWheels' swipe

  1. Fast '.setValue()'
  2. Slow 'mobile:selectPickerWheelValue'

Swipe troubleshoot guide

  1. Swipe troubleshoot guide