Selenium WebDriver - FirefoxDriver error: Failed to start up socket within 45000

后端 未结 17 2319
滥情空心
滥情空心 2020-12-01 13:03

I\'m getting this error:

tests.IntegrationTests.Selenium.RegisterAndLogin (TestFixtureSetUp):
SetUp : OpenQA.Selenium.WebDriverException : Failed to start up         


        
相关标签:
17条回答
  • 2020-12-01 13:26

    I got this working in the end, I removed all the package sub-folders which were added by NuGet when installing WebDriver and decided to added these manually. Created a 'lib' folder, then unzipped the selenium binaries into that folder. Then added references to all the binaries. Seems to be fine now.

    0 讨论(0)
  • 2020-12-01 13:26

    I also faced the problem while running the the test in NUnit. I found many solution to remove or degrade your Firefox.But i solved this in another way i remove all the references related to web drivers and add the upgrade web driver to the Solution.

    In my application the webdriver version was 2.24 so i replaced with 2.43 and now my test are running fine.

    0 讨论(0)
  • 2020-12-01 13:30

    Solution is as easy as pie :)

    Right Click on your .Net (C#) Project and select 'Manage NuGet Packages ...' option, as shown below:

    Then select Selenium specific packages, they need updated so update them.

    The updated packages will be updated automatically.

    It works for me.

    0 讨论(0)
  • 2020-12-01 13:30

    Which version of Selenium IDE you are using? Try downgrading the Firefox version. The release notes of selenium IDE is mentioned in below link.

    https://code.google.com/p/selenium/wiki/SeIDEReleaseNotes

    Hope this helps.

    0 讨论(0)
  • 2020-12-01 13:31

    For anyone finding this question more recently (2015-02-27), there seems to be an open issue with compatibility with Selenium and Firefox 36:

    https://code.google.com/p/selenium/issues/detail?id=8399

    You can download Firefox 35 here: http://www.filehippo.com/download_firefox/59889/

    0 讨论(0)
  • 2020-12-01 13:33

    I found that I was able to to fix this problem in Firefox Selenium by updating my Selenium packages in NuGet.

    But it still leaves you with the problem of manually updating the Chrome and IE drivers if similar problems arise.

    0 讨论(0)
提交回复
热议问题