Chome is controlled by automated test software“, who has faced this kind of notification knows how boring is to have such a banner on the top of Chromium browser while we are trying to automate stuff using Selenium.

How to disable it?
On the Internet we can find a lot of answers that unfortunately didn’t work for me.

In this article we are going to show you how to do it in C#, using a simple line of code that should do the trick.

The Problem

Just to be sure that we are on the same page, we are talking about this:

this happens every time you start Chromium using a ChromeDriver.

In the past, Selenium gave some instructions for deleting this stuff but it seems that these solutions are deprecated and won’t work.

The Solution

This advice pops up because the last ChromeDriver versions pass some default parameters to Chromium.

One of those parameters is –enable-automation which apparently generates the issue.

In order to avoid ChromeDriver on passing it, the instruction that we have to forseen is the following:

Copy to Clipboard

If you want to see which other options are available for Chromium, please have a look on this page.