码迷,mamicode.com
首页 > 移动开发 > 详细

(org.openqa.selenium.WebDriverException: Unable to launch the app: Error: Trying to start logcat capture but it's already started! )错误解决办法

时间:2015-09-21 17:29:02      阅读:2100      评论:0      收藏:0      [点我收藏+]

标签:

新增:

capabilities.setCapability("autoLaunch",false);

 

将setup中的:

driver = new AndroidDriver(new URL("http://127.0.0.1:" + port + "/wd/hub"), capabilities);

driver.launchApp();

第二句:

driver.launchApp()

注释掉

 

(org.openqa.selenium.WebDriverException: Unable to launch the app: Error: Trying to start logcat capture but it's already started! )错误解决办法

标签:

原文地址:http://www.cnblogs.com/melody-emma/p/4826484.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!