Deprecation of TouchAction and MultiTouchAction
Appium 2.0 ushers in a transformative shift in managing touch and multi-touch actions. The previously prevalent TouchAction and MultiTouchAction classes, used for gesture automation in earlier Appium versions, have been replaced to embrace a more uniform methodology.
Introduction to W3c Action API
In Appium 2.0, touch and multi-touch actions are now implemented using the W3c Action API. This change aligns Appium with industry standards and provides a more consistent and robust method for automating gestures across different platforms.
The W3c Action API allows testers and developers to define gestures using JSON objects, making it easier to specify complex interactions. These actions can include taps, swipes, scrolls, and other gestures commonly used in mobile app testing.