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?
io.appium.java_client.android.androiddriver
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 classandroiddriver
concrete class extendsappiumdriver
classappiumdriver
class not implement interfaceandroiddriver
class implements generic , non-generic interfaces seen in declarationappiumdriver
parent class ,androiddriver
child classappiumdriver
contains abstract,non-abstract methodsandroiddriver
being concrete class not contains abstract methods, override methods ofappiumdriver
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/difference-between-appiumdriver-and-androiddriver/3188
Comments
Post a Comment