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

浙公网安备 33010602011771号