How to hide the console of the ChromeDriver in Python?

How to hide the console of the ChromeDriver in Python?

Hey there Richard.hall,

Here how you can hide the console of the ChromeDriver In Python:

ChromeOptions options = new ChromeOptions(); 
options.setExperimentalOption("excludeSwitches", new String[]{"enable-automation"}); 
DesiredCapabilities caps = DesiredCapabilities.chrome(); 
caps.setCapability(ChromeOptions.CAPABILITY, options); 
WebDriver driver = new RemoteWebDriver(caps);