Reputation:
options.AddArgument("--disable-gpu");
driver = new ChromeDriver(options);
driver.Navigate().GoToUrl("");
string currentDay = DateTime.Today.DayOfWeek.ToString();
System.Threading.Thread.Sleep(5000);
switch(currentDay)
{
Had a problem, where it doesn't hide the browser, what can I do?
Upvotes: 1
Views: 3935
Reputation: 319
First, check your Chrome version with following instructions:
Then download the matched chrome webdriver version. Via this link: https://chromedriver.chromium.org/downloads
Upvotes: 0
Reputation: 83
Your chrome web-driver version need to match with your google chrome version which is install on your PC.
please use below link to download chromedriver.
Upvotes: 1