0
我想向下滾動列表視圖的一定數量的像素(-400)。 我使用這個代碼:Appium精確滾動使用TouchAction
TouchAction touchAction4 = new TouchAction(driver);
touchAction4.press(400, 800).moveTo(0,-400).waitAction(2000).release();
touchAction4.perform();
但它的工作原理是關於屏幕的幾個高度快速滾動的手指。 waitAction沒有幫助。
你試過driver.swipe(startx的,startY,endX,恩迪,持續時間)。 U可以使用持續時間參數來減慢滾動。 – Grasshopper