![](https://img-blog.csdnimg.cn/20201014180756780.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Appium
丶老大叔
好好学习。
展开
-
Appium+JAVA实现截图功能
接触Appium时间不长,以下是截图方法代码,做个笔记备忘。 //截图 public void test(WebDriver driver){ File screen = ((RemoteWebDriver) driver).getScreenshotAs(OutputType.FILE); File screenFile = new File("d:\原创 2016-05-17 16:13:01 · 1769 阅读 · 0 评论 -
Appium+java代码实现上/下/左/右滑动
自己写的方法,做个笔记备忘。//左滑 public void swipeToLeft(int during) throws InterruptedException { for (int i = 0; i < during; i++) { int width = driver.manage().window().getSize().width;原创 2016-05-17 16:15:13 · 698 阅读 · 0 评论