rt
// @Override public void swipe(int startx,int starty,int endx,int endy,int ms){ Duration duration=Duration.ofSeconds(ms/1000); TouchAction tAction = new TouchAction(this).press(startx,starty).waitAction(ms) .moveTo(endx,endy).waitAction(ms/100).release(); try{ tAction.perform(); }catch(Exception e){ System.out.println("An unkown server-side error"); Reporter.log(" An unknown server-side error occurred while processing the command."); e.printStackTrace(); } }