由于版本变更,appium 点击屏幕方法已经改变,

    TouchAction action = new TouchAction(driver);
Duration duration = Duration.ofMillis(5000); //按压5秒
action.press(400,500).waitAction(duration).moveTo(50,500).release().perform();
05-08 15:28