Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
Maybe this will help:
# Отключает логи, кроме первой строки инициализации:
# DevTools listening on ws://127.0.0.1:63103/devtools/browser/.....
chrome_options.add_argument('--log-level=3')
# . . .
driver=webdriver.Chrome(chrome_options=chrome_options, executable_path=chrome_path)
# Затираем первую строку
os.system("cls")
Have you tried it like this?
driver = webdriver.Chrome(service_log_path='/dev/null')
or
NULL on Windows
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question