我正在尝试向下滑动联系人屏幕,但它不起作用。
这是我尝试过的代码。
public void Swipedown() throws InterruptedException
{
// Select till which position you want to move the seekbar
TouchAction action=new TouchAction((PerformsTouchActions) driver);
Dimension dimensions = driver.manage().window().getSize();
action.press(446,1404).moveTo(554,1500).release().perform();
System.out.println("swipe down to set seekbar successfully");
Thread.sleep(5000);
}
Run Code Online (Sandbox Code Playgroud)
你们能帮我看看我在这里做错了什么。
任何帮助将不胜感激。