eclipse - What is difference between AndroidDriver from Selenium and java-io[Appium]? -


as there androiddriver class present in both libraries while performing mobile device automation, major differences in between these 2 classes?

  1. io.appium.java_client.android.androiddriver

  2. org.openqa.selenium.android.androiddriver

appiumdriver class contains methods shared ios , android.

iosdriver , androiddriver both extend appiumdriver , provide more methods, , specific implementations methods.

differences:

  • appiumdriver abstract class androiddriver concrete class extends appiumdriver class
  • appiumdriver class not implement interface androiddriver class implements generic , non-generic interfaces seen in declaration
  • appiumdriver parent class , androiddriver child class
  • appiumdriver contains abstract,non-abstract methods androiddriver being concrete class not contains abstract methods, override methods of appiumdriver class,androiddriver class not add new method class
  • partially can appiumdriver abstract design pattern , androiddriver class design implementation class

reference links:

http://discuss.appium.io/t/what-is-the-difference-between-appiumdriver-webelement-and-appiumdriver-mobileelement/8705/6

http://discuss.appium.io/t/difference-between-appiumdriver-and-androiddriver/3188


Comments

Popular posts from this blog

angular - Ionic slides - dynamically add slides before and after -

minify - Minimizing css files -

Add a dynamic header in angular 2 http provider -