I am using Chrome For Testing (CFT) browser for Selenium WebDriver with Java. I feel the info message "Chrome for Testing is only for automated testing. For regular browsing, use a standard version of Chrome that updates automatically" is redundant for me and want to disable this.

I was looking for any option here but could not find.

Please help.

1

There are 1 best solutions below

0
thiagowfx On

As of this commit (Nov 2023), the --disable-infobars switch has been introduced.

Thus, with a recent version of CfT, just run:

google-chrome --disable-infobars