To perform a series of gestures, one after another. Gestures are chained together and only performed when perform() is called.
// to tap elementTouchAction action =newTouchActions(driver).singleTap(element).release();action.perform();// to click and holdTouchAction action =newTouchActions(driver).clickandHold(element);action.perform();// to long pressTouchAction action =newTouchActions(driver).longPress(element).release();action.perform();// to swipeTouchAction action =new TouchAction.new(driver).swipe(....);action.perform();# called `swipe(...).perform` in this method.swipe(start_x:75, start_y:500, offset_x:75, offset_y:20, duration:500)
MultiTouch:
MultiTouch actions allow for multiple touches to happen at the same time, to simulates multiple finger swipes.