摘要: 首先安装Python3及pip 下载python3安装包 执行命令:wget https://www.python.org/ftp/python/3.6.5/Python-3.6.5.tgz 安装zlib-devel包(后面安装pip需要用到,这里先下载,后面就不用重复编译) yum install 阅读全文
posted @ 2019-11-01 20:00 斑马的Friday 阅读(1221) 评论(0) 推荐(1) 编辑
摘要: STF篇 前期需要准备的材料: 下载VirtualBox 虚拟机:https://www.virtualbox Ubuntu 系统盘: https://www.ubuntu.org.cn/download/desktop 更新软件 sudo apt-get update 安装 sudo apt-ge 阅读全文
posted @ 2019-10-18 15:08 斑马的Friday 阅读(878) 评论(0) 推荐(0) 编辑
摘要: 1.查看源码语法,起点和终点四个坐标参数,duration是滑动屏幕持续的时间,时间越短速度越快。默认为None可不填,一般设置500-1000毫秒比较合适。 swipe(self, start_x, start_y, end_x, end_y, duration=None) Swipe from 阅读全文
posted @ 2019-10-15 14:41 斑马的Friday 阅读(283) 评论(0) 推荐(0) 编辑
摘要: 1.通过text文本定位 text("text文本") loc = 'text("发现")' driver.find_element_by_android_uiautomator(loc).click() 2.文本比较长的时候,可以用textContains模糊匹配,只要文本包含匹配内容就可以了。 阅读全文
posted @ 2019-09-25 11:40 斑马的Friday 阅读(425) 评论(0) 推荐(0) 编辑