网站介绍:文章浏览阅读346次。def swipeUp(driver, t=500, n=1):‘’‘向上滑动屏幕’’’l = driver.get_window_size()x1 = l[‘width’] * 0.5y1 = l[‘height’] * 0.75y2 = l[‘height’] * 0.25for i in range(n):driver.swipe(x1, y1, x1, y2, t)def swipeDown(driver, t=500, n=1):‘’‘向下滑动屏幕’’’l = driver.g_appium 滑动屏幕
- 链接地址:https://blog.csdn.net/weixin_52026996/article/details/121613044
- 链接标题:Appium滑动屏幕_appium 滑动屏幕-CSDN博客
- 所属网站:blog.csdn.net
- 被收藏次数:4062
- 网站标签:appium 滑动屏幕