摘要: 1、导入appium.webdriver.common.touch_action import TouchAction 2、使用方法 TouchAction(driver).press(x=xx,y=xx).move_to(x=xx,y=xx).release().perform() TouchAc 阅读全文
posted @ 2021-05-07 10:54 Shellyl 阅读(84) 评论(0) 推荐(0)
摘要: from appium import webdriverfrom selenium.common.exceptions import NoSuchElementExceptioncaps = { "platformVersion": "5.1.1", "deviceName": "127.0.0.1 阅读全文
posted @ 2021-04-28 15:43 Shellyl 阅读(464) 评论(0) 推荐(0)
摘要: 1、在Appiunm配置项增加配置项(前提手机上已安装该软件) "skipServerInstallation": "True" 阅读全文
posted @ 2021-04-26 09:35 Shellyl 阅读(206) 评论(0) 推荐(0)
摘要: 前提条件:电脑已安装Andriod_sdk 1、通过数据线链接手机(最好使用手机原装的数据线以避免访问不到) 2、打开手机的开发者模式 3、cmd 输入adb devices,若显示了手机的地址,则说明连接成功,则可进行appium的配置 阅读全文
posted @ 2021-04-19 17:46 Shellyl 阅读(686) 评论(0) 推荐(0)