Skip to main content
Active reading [<https://en.wikipedia.org/wiki/C_Sharp_%28programming_language%29>]. In English, the subjective form of the singular first-person pronoun, "I", is capitalized, along with all its contractions such as I'll and I'm. Fixed the indentation.
Source Link
Peter Mortensen
  • 31.4k
  • 22
  • 110
  • 134

iI have the same problem and solved the issue with the following configuration (in c#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 For hiding chrome being controlled by automation..  options.AddAdditionalCapability("useAutomationExtension", false); //import Import cookies options.AddArguments("user-data-dir=" + userDataDir);  options.AddArguments("profile-directory=" + profileDir); 

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); 

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); 
add more details about the code
Source Link
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); 

i have the same problem and solved the issue with the following configuration

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); 

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); 
Source Link
Herahadi An
  • 346
  • 1
  • 15

i have the same problem and solved the issue with the following configuration

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);