python – Cannot create a driver with webdriver manager for Brave/Firefox and Selenium 4

I copy/paste webdriver manager code example for using Brave as a driver from officially documentation -> github.com/SergeyPirogov/webdriver_manager

After running the code I am AttributeError:

enter image description here

For Firefox I am getting:
enter image description here

I am using Python 3.11 and everything running inside of venv.

Anyone else had same issues and has steps to fix them?

Thank you!

I tried to use webdriver manager with Selenium 4.
I cannot create driver for Brave and Firefox browser.

Read more here: Source link