在webdriver中打开Firefox驱动程序时出现以下错误

时间:2014-05-07 06:57:23

标签: java selenium

在代码下运行时我收到错误, 有人可以帮忙吗? 问题是什么 我的代码:

WebDriver wd=new FirefoxDriver();
wd.get("https://google.co.in");

错误讯息:

Exception in thread "main" org.openqa.selenium.remote.UnreachableBrowserException: Error communicating with the remote browser. It may have died.
Build info: version: '2.41.0', revision: '3192d8a', time: '2014-03-27 17:18:15'
System info: host: 'INL-281384-1', ip: '10.14.225.69', os.name: 'Windows 7', os.arch: 'x86', os.version: '6.1', java.version: '1.7.0_45'
Driver info: driver.version: RemoteWebDriver

1 个答案:

答案 0 :(得分:0)

了解此问题:https://code.google.com/p/selenium/issues/detail?id=3000

#56,#57是有用的评论......“您可以尝试增加默认的最短临时TCP端口数量,如下所示:http://support.microsoft.com/kb/196271/en-us