OpenQA.Selenium.WebDriverException : Failed to start up socket within 45000

FluentAutomation如果你已经尝试使用硒的FluentAutomation与最近硒webdriver的API,直接在自动测试使用NUnit之类的东西,你可能会遇到以下情况例外,当使用火狐:

 OpenQA.Selenium.WebDriverException:无法启动插座内45000   
  在OpenQA.Selenium.Firefox.Internal.ExtensionConnection.ConnectToBrowser(INT64 timeToWaitInMilliSeconds) 
   在OpenQA.Selenium.Firefox.Internal.ExtensionConnection.Start()   
 在OpenQA.Selenium.Firefox.FirefoxDriver.StartClient()   
 在OpenQA.Selenium.Firefox.FirefoxDriver ..构造函数(FirefoxBinary二进制,FirefoxProfile的个人主页上,的TimeSpan commandTimeout)  
  在FluentAutomation.SeleniumWebDriver.AutomationProvider.Navigate(URI pageUri)    在Class1.cs中的FluentAutomationDemo.Integration.TestClass1.Test():第19行   
解决方案就是;重新更新vs中的webdribver版本,和添加FluentAutomation
posted @ 2012-11-07 15:58  布瓜  阅读(1510)  评论(0编辑  收藏  举报