簡體   English   中英

在webdriver中打開Firefox驅動程序時出現以下錯誤

[英]While opening the Firefox driver in webdriver am getting below error

在以下代碼下運行時,我遇到錯誤,請問一個可以幫助嗎? 我的代碼有什么問題:

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

了解有關此問題的信息: https : //code.google.com/p/selenium/issues/detail?id=3000

#56,#57是有幫助的注釋...“您可以嘗試按以下方式增加臨時TCP端口的默認最大數量: http : //support.microsoft.com/kb/196271/zh-cn

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM