Unable to hide “Chrome is being controlled by automated software” infobar within Chrome v76

后端 未结 6 1183
逝去的感伤
逝去的感伤 2020-11-28 08:48

After updating Chrome to version 76, I cannot figure out how to hide the \"Chrome is being controlled by automated software...\" notification overriding some controls on the

6条回答
  •  萌比男神i
    2020-11-28 09:39

    This will work in C#:

    ChromeOptions chromeOptions = new ChromeOptions();
    chromeOptions.AddArgument("--incognito");
    chromeOptions.AddExcludedArgument("enable-automation");
    chromeOptions.AddAdditionalCapability("useAutomationExtension", false);
    

提交回复
热议问题