Appium appium 在 ios 设备上的上滑操作不行,写的是上滑,但是还是下滑 ,appium1.6.3,求解

cool · November 16, 2017 · Last by cool replied at November 16, 2017 · 1521 hits

def test01_test(self):
screen = self.driver.get_window_size()
width=screen['width']
height=screen['height']
self.driver.swipe(width/2,height*3/4, width/2,height/4, 1000)
time.sleep(2)
self.driver.swipe(width/2,height/4, width/2,height*3/4, 1000)

共收到 6 条回复 时间 点赞

最好别用 swipe 操作,还是用 TouchAction 吧

hover 回复

他用的 python,TouchAction 是 java 的吧……

cool #3 · November 16, 2017 Author
hover 回复

多谢,已解决

cool #4 · November 16, 2017 Author
少陵生 回复

python 也有,已解决

cool 关闭了讨论 16 Nov 14:56
cool 重新开启了讨论 16 Nov 14:56

你好,我最近也遇到类似问题,请问怎么解决的?可以加我扣扣私聊下么

cool #8 · November 16, 2017 Author
笑哼 回复

O__O 咋加。。

需要 Sign In 后方可回复, 如果你还没有账号请点击这里 Sign Up