摘要: 界面上有很多相同元素,通过索引点击对应的元素(如AAP上商品列表中的添加购物车按钮,点击指定商品的添加购物车按钮),可在..\AppiumLibrary\keywords\__element.py文件中添加如下代码: def click_by_index(self, locator,index): 阅读全文
posted @ 2019-09-12 09:38 nyli 阅读(174) 评论(0) 推荐(0) 编辑
摘要: # coding=utf-8from appium import webdriverimport timefrom selenium.webdriver.support.wait import WebDriverWait desired_caps = { 'platformName': 'Andro 阅读全文
posted @ 2019-08-22 15:37 nyli 阅读(391) 评论(0) 推荐(0) 编辑