1
votes

Trying to hide console log/cmd.exe (chromedriver.exe) but it is not hiding/closing..

I tried:

options = webdriver.ChromeOptions()
options.add_argument('--log-level=0')
options.add_argument('--log-level=1')
options.add_argument('--log-level=2')
options.add_argument('--log-level=3')
driver = webdriver.Chrome(chrome_options=options)
driver.get('https://google.com')

Note: Using latest versions of Chrome and Chromedriver

Which version of Chrome and chromedriver you are using? - Chirag Jain
I am using latest versions of both, chrome and chromedriver... - Grass
To my knowledge you cannot hide the console log of chromedriver, in latest versions.... - Chirag Jain