Skip to content
Advertisement

How to stop selenium from printing webdriver-manager messages in python?

Each time that I initiate a new webdriver the following text is written to the console:

JavaScript

My goal was to stop selenium from printing this message to the console. Stack Overflow threads with similar topics to this one showed two options that did not work for me. The first one is:

JavaScript

and the second one is:

JavaScript

Both of these solutions did work for some others but not for me. Is there some other way to stop selenium from printing webdriver messages?

Solution: As suggested by MohitC the following code prevented the webdriver-manager messages to be printed:

JavaScript

Advertisement

Answer

These are webdriver-manager logs. You can either uninstall it if you are not using or disable logging as below

JavaScript

You can also try

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