Is there anyway to remove the "chrome is being controlled by automated test software" notification in selenium JavaScript. Already tried disable info-bar but turns out chrome patched that couple years back.
var options = new chrome.Options();
options.excludeSwitches('enable-automation')
use chrome options.excludeSwitches, this will remove the automation flag that causing that notification
For C# :
var options = new ChromeOptions();
options.AddExcludedArgument("enable-automation");
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With