1
            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?

5
  • You could downgrade to chrome version 83. Commented Aug 27, 2020 at 6:45
  • Does google allow that? If so, then how? Commented Aug 27, 2020 at 6:50
  • It definitely allows you to do so. Commented Aug 27, 2020 at 6:54
  • go over here slimjet.com/chrome/google-chrome-old-version.php uninstall chrome Commented Aug 27, 2020 at 6:55
  • This may be useful : stackoverflow.com/a/66075973/1068246 Commented Jun 6, 2023 at 7:20

2 Answers 2

1

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.

chromedriver

Sign up to request clarification or add additional context in comments.

Comments

0

First, check your Chrome version with following instructions:

  1. Click the three dots in the upper-right corner of the window.
  2. Hover your cursor over "Help."
  3. Click "About Google Chrome." The version of your Google Chrome browser will appear on the next window, toward the top of the screen.

Then download the matched chrome webdriver version. Via this link: https://chromedriver.chromium.org/downloads

Comments