No momento de executar a aplicação está apresentando o erro "An unhandled exception of type 'OpenQA.Selenium.WebDriverException' occurred in WebDriver.dll", na linha : IWebDriver driver = new FirefoxDriver();
Segue meu código abaixo:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using OpenQA.Selenium;
using OpenQA.Selenium.Edge;
using OpenQA.Selenium.Chrome;
using OpenQA.Selenium.Support;
using System.Web;
using OpenQA.Selenium.Firefox;
namespace TestesAutomatizados2
{
class Program
{
static void Main(string[] args)
{
IWebDriver driver = new FirefoxDriver();
driver.Navigate().GoToUrl("http:google.com.br");
IWebElement campoDeTexto = driver.FindElement(By.Name("q"));
campoDeTexto.SendKeys("Corinthians");
campoDeTexto.Submit();
driver.Close();
}
}
}