区分:WebElement, MobileElement, AndroidElement, and iosElement

区分:WebElement, MobileElement, AndroidElement, and iosElement

原文地址:https://discuss.appium.io/t/difference-between-webelement-mobileelement-androidelement-and-ioselement/5254/4

Basically, using WebElement will let you use all the normal Selenium commands. MobileElement is appium's element which subclasses WebElement and adds appium-specific features (like being able to perform Touch Gestures).
AndroidElement and IOSElement implement MobileElement and add OS-specific features. Like on Android you can use findByUIAutomator and on iOS you can use findByUIAutomation

posted @ 2016-11-30 13:41  超级宝宝11  阅读(1208)  评论(0编辑  收藏  举报