RE: URL don’t open

I’m trying start My First Test using Selenium with C#, but when the Firefox it’s opening the URL isn’t insert and give me the message in Visual Studio:

An unhandled exception of type ‘OpenQA.Selenium.WebDriverException’ occurred in WebDriver.dll

Additional information: Failed to start up socket within 45000 milliseconds. Attempted to connect to the following addresses:

Follow my script:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using OpenQA.Selenium;
using OpenQA.Selenium.Firefox;

namespace TestesQA
class FirstTestCase
static void Main(string[] args)
IWebDriver driver = new FirefoxDriver();
driver.Url = “”;

With NUnit happened the samething.
Cold you help me, please?

TatianeGomes Default Asked on October 3, 2016 in Selenium WebDriver.
Add Comment
1 Answers

With Selenium 3.x  you would have to setup  the GeckoDriver – it may be easier for the first project to use Selenium 2.47.X and install older version of Firefox 40

Train Answered on November 5, 2016.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.