会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
nyli
博客园
首页
博问
闪存
新随笔
订阅
管理
2019年9月12日
通过索引点击元素
摘要: 界面上有很多相同元素,通过索引点击对应的元素(如AAP上商品列表中的添加购物车按钮,点击指定商品的添加购物车按钮),可在..\AppiumLibrary\keywords\__element.py文件中添加如下代码: def click_by_index(self, locator,index):
阅读全文
posted @ 2019-09-12 09:38 nyli
阅读(174)
评论(0)
推荐(0)
编辑
2019年8月22日
selenium+appium对H5界面的操作
摘要: # 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)
编辑