还未发布过话题
  • driver.swipe(width / 2, height / 2, width / 4, height / 2, during);这个能滑过去吗?我是这样写的,滑两次,从右往左滑
    public void swipeToLeft(AndroidDriver driver, int during) {
    int width = driver.manage().window().getSize().width;
    int height = driver.manage().window().getSize().height;
    driver.swipe(width * 8/9, height / 2, width /9, height / 2, during);
    }