What Is New In Appium 2.0?

Changes in Driver and Classes : MobileElement classes including AndroidElement and iOSElement classes are removed. It is recommended to use WebElement . @AndroidFindBy(xpath ="//android.widget.TextView[@text='Continue']") private WebElement Continue; Mobile By Class has been removed, and AppiumBy Class has been introduced. Older Way: driver.findElement(MobileBy.id("loginbutton")).click(); New Way: driver.findElement(AppiumBy.id("loginbutton")).click(); TOuch Actions and Multi touch Actions : From Appium 2.0 both TouchAction and MultiTouchAction class has been depreciated.W3c Action API will be used for automating gestures. For Example, the double Click Gesture can be achieved using the below code: driver.executeScript("mobile: doubleClickGesture", ImmutableMap.of( "elementId", ((RemoteWebElement) element).getId()); "WD" Javascript client Library no Longer Supported: For many years, some of Appium's auth...