0

I am using

  1. Windows 10 Pro
  2. Chrome Version 83.0.4103.97 (Official Build) (64-bit)
  3. selenium ChromeDriver 83.0.4103.39

and simple C# code which just open google login page

        var options = new ChromeOptions();
        IWebDriver driver = new OpenQA.Selenium.Chrome.ChromeDriver();
        driver.Url = "https://accounts.google.com/";
        Console.ReadKey();

When I type email for login I see the message "Couldn't sign you in" and one of the reasons for that error "Use automation testing frameworks" which I am using.

enter image description here

What to do with that?

Duke

frianH
  • 7,295
  • 6
  • 20
  • 45
Duke
  • 1,844
  • 2
  • 16
  • 26
  • This is a protection by google itself, so you need to either use a existing chrome profile – Tarun Lalwani Jun 05 '20 at 14:47
  • "use an existing chrome profile"? Now sure what you mean. How to do it? – Duke Jun 05 '20 at 15:37
  • I found the solution here. All you need to do - set the same profile folder which you using for default. options.AddArgument(@"user-data-dir=c:\Users\{username}\AppData\Local\Google\Chrome\User Data\"); – Duke Jun 07 '20 at 11:39

0 Answers0