随笔分类 -  app

摘要:ADB 获取当前activity信息 借鉴:https://blog.csdn.net/wangjicong_215/article/details/79744599 8.1之前 window 通过adb shell dumpsys activity | findstr “mFocus”Linux 阅读全文
posted @ 2020-06-02 14:17 大大怪上士 阅读(666) 评论(0) 推荐(0)
摘要:Appium安装总体需要以下几个步骤: ① 安装Appium python client包 直接在命令提示窗口中 输入pip install Appium-Python-Client 另外要确保安装匹配版本的selenium和appium:可以输入pip install seelnium -U ② 阅读全文
posted @ 2020-06-01 16:43 大大怪上士 阅读(146) 评论(0) 推荐(0)
摘要:import os import time import random while True: x = random.randint(140, 1800) y = random.randint(100, 1000) adb1 = 'adb shell input tap ' + str(x) + ' ' + str(y) os.system(adb1) ... 阅读全文
posted @ 2018-11-13 15:48 大大怪上士 阅读(186) 评论(0) 推荐(0)