Skip to content
Advertisement

Problem with selenium python (chromedriver) [closed]

I have been using selenium in python now for over 2 years but i experienced a problem suddenly (I am using chromedriver) which has never happened before. I can’t do anything against it. It always shows a debug or something while just running it normally no matter what happens Here is a picture of it. Does anybody know, how i can turn that kind of debug off?

Advertisement

Answer

Question : Does anybody know, how i can turn that kind of debug off?

You can set log level to minimum while launching the driver using the following options

from selenium.webdriver.chrome.options import Options

chrome_options = Options()
chrome_options.add_argument('--log-level=3')

log-level:

INFO = 0, 
WARNING = 1, 
LOG_ERROR = 2, 
LOG_FATAL = 3.

default is 0.

User contributions licensed under: CC BY-SA
3 People found this is helpful
Advertisement