Skip to main content
2 of 3
add more details about the code
Herahadi An
  • 346
  • 1
  • 15

i have the same problem and solved the issue with the following configuration (in c#)

options.AddArguments("start-maximized"); options.AddArguments("--user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.86 Safari/537.36"); options.AddExcludedArgument("enable-automation");//for hiding chrome being controlled by automation.. options.AddAdditionalCapability("useAutomationExtension", false); //import cookies options.AddArguments("user-data-dir=" + userDataDir); options.AddArguments("profile-directory=" + profileDir); 
Herahadi An
  • 346
  • 1
  • 15