Significant Changes in Driver Classes
Appium 2.0 introduces significant changes in the way driver classes are structured and used. These changes are designed to align with industry standards, improve compatibility, and enhance the overall user experience. Here are some key highlights:
Removal of SelendroidDriver
In Appium 2.0, the SelendroidDriver class has been deprecated and removed. Selendroid was a tool that allowed testing of Android apps using the Selenium WebDriver protocol. However, as the Android ecosystem evolved, Selendroid became less relevant and was eventually replaced by more modern alternatives. With the removal of SelendroidDriver, Appium now focuses on more widely used and up-to-date driver options.
Removal of MobileElement Classes
Another significant change in Appium 2.0 is the removal of MobileElement classes, including AndroidElement and iOSElement. These classes were previously used to represent mobile elements in the app’s user interface. However, in the new version, the recommendation is to use the WebElement class, which is a standard WebDriver interface.