Appium模拟滑动轨迹(如手势解锁)


final TouchAction gesture = new TouchAction(driver).press(startX, stratY)
          .moveTo(startX, stratY + height)
          .moveTo(startX, stratY + height + height)
          .moveTo(startX + width, stratY + height + height).release();
      gesture.perform();


你可能感兴趣的:(android,selenium,appium,自动化,webdriver)