摘要: appium继承了selenium的所有元素定位方式(web端),并有自己的元素定位方式 # iddriver.find_element_by_id("cn.TuHu.android:id/productslist_text") # classdriver.find_element_by_class 阅读全文
posted @ 2020-07-25 14:36 mkay 阅读(182) 评论(0) 推荐(0) 编辑
摘要: 具体看这个网址里:有通用的如platformName等,还有安卓和ios设备特有的一些参数 http://appium.io/docs/cn/writing-running-appium/caps/ from appium import webdriver # 用字典来存储appium服务器的启动参 阅读全文
posted @ 2020-07-25 13:45 mkay 阅读(177) 评论(0) 推荐(0) 编辑