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

0
0

I’m getting this error:

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

when I carry out the following in my code:

using System;
using System.Text;
using NUnit.Framework;
using OpenQA.Selenium.Firefox;
using OpenQA.Selenium;
namespace ekmProspector.tests.IntegrationTests.Selenium
{
[TestFixture]
public class RegisterAndLogin
{
private IWebDriver driver;
[TestFixtureSetUp]
public void Init()
{
driver = new FirefoxDriver();
}
}

Can’t get much simpler really, but the error is fatal. Any ideas?

  • You must to post comments
0
0

Solution is as easy as pie 🙂

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

enter image description here

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

enter image description here

The updated packages will be updated automatically.

enter image description here

It works for me.

  • You must to post comments
Showing 1 result
Your Answer
Post as a guest by filling out the fields below or if you already have an account.
Name*
E-mail*
Website