如何在 uiautomator 应用程序屏幕中滑动到下一页。
我已经尝试过
d.swipe(531,1346,1033,1346,20)
我已将最后一个参数更改为20或200
或任何数字,但它似乎没有滑动到下一页。
最佳答案
您需要从右向左滑动,而不是从左向右滑动。
d.swipe(1033,1346,531,1346,20) #steps taken will determine the speed
关于android - 在 uiautomator 中滑动到下一页,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32112673/