区分:AndroidDriver, iOSDriver, AppiumDriver and Remote WebDriver
區分:AndroidDriver, iOSDriver, AppiumDriver and Remote WebDriver
原文地址:https://discuss.appium.io/t/what-is-the-use-or-difference-between-androiddriver-iosdriver-appiumdriver-and-remote-webdriver/8750
RemoteWebDriver:
This driver class comes directly from the upstream Selenium project. This is a pretty generic driver where initializing the driver means making network requests to a Selenium hub to start a driver session. Since Appium operates on the client-server model, Appium uses this to initialize a driver session. However, directly using the RemoteWebDriver is not recommended since there are other drivers available that offer additional features or convenience functions.
AppiumDriver:
This driver class inherits from the RemoteWebDriver class, but it adds in additional functions that are useful in the context of a mobile automation test through the Appium server.
AndroidDriver:
This driver class inherits from AppiumDriver, but it adds in additional functions that are useful in the context of a mobile automation test on Android devices through Appium. Only use this driver class if you want to start a test on an Android device or Android emulator.
IOSDriver:
This driver class inherits from AppiumDriver, but it adds in additional functions that are useful in the context of a mobile automation test on iOS devices through Appium. Only use this driver class if you want to start a test on an iOS device or iOS emulator.
?
As you can see, the drivers and their names tie in closely with what they do. When it comes to initializing a driver, only use the Android or IOS drivers.
轉載于:https://www.cnblogs.com/superbaby11/p/6117444.html
總結
以上是生活随笔為你收集整理的区分:AndroidDriver, iOSDriver, AppiumDriver and Remote WebDriver的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: GacUI学习(一)
- 下一篇: 什么是顶格申购新股