Skip to content
Advertisement

Python Webdrivermanager .install() does not work for edge in custom webdriver installation location

I use Webdrivermanager to update my drivers. But for the Edge browser I get errors.

JavaScript

The Error:

JavaScript

Well I edited the manager, to save to another location. But it does work for Chrome and Firefox why not for edge…

modified driver_cache.py:

JavaScript

modified microsoft.py:

JavaScript

Just to compare the edited and working chrome.py:

JavaScript

I am sorry but I have no idea :(

Best Regards Christian

Advertisement

Answer

Okay,

it was a Problem with the logger of Webdrivermanager.

For microsoft.py I had to import logging and make some changes for the log_level:

JavaScript

EDIT:

I created a custom_webdriver_manager

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