tips:
1.public boolean scrollForward(int steps) throws UiObjectNotFoundException
-
参数:
steps
- use steps to control the speed, so that it may be a scroll, or fling -
steps是控制速度的,想要设置滚动距离用for循环
-
-
2.public boolean scrollForward()throws UiObjectNotFoundException
-
默认steps为55
-
注意:steps不可以过小,过小会出现直接点击进去的现象。设为50左右为好