Initial launching of the Chrome driver is taking 35 seconds on average everything works fine just can't speed up the launch time. Using Selenium.WebDriver.ChromeDriver Version 2.35, NuGet by Jsakamoto. Additional nuget packages are Selenium.support 3.9.1 and selenium.webdriver 3.9.1 by Selenium Committers. How can I speed up the initial launching of the ChromeDriver?
[TestMethod, TestCategory("DriverSpeed"), TestCategory("GUI")]
public void SpeedingUpOption()
{
Stopwatch time = new Stopwatch();
time.Start();
ChromeOptions options = new ChromeOptions();
// Tried many options nothing helped
IWebDriver driver = new ChromeDriver(options);
driver.Navigate().GoToUrl("http://www.google.com");
time.Stop();
IWebElement searchBox = driver.FindElement(By.Name("q"));
searchBox.SendKeys("ChromeDriver Slow");
driver.Dispose();
}