TypeError when upgrading to selenium 4.10
melisabok opened this issue · comments
When upgrading to selenium 4.10, I'm getting the following error:
TypeError: WebDriver.__init__() got an unexpected keyword argument 'service_log_path'
It seems that selenium removed the parameter service_log_path that is being used here.
It is there another way to pytest-selenium without having this error?
Yes, use the previous version of selenium.
I got a similar error with another keyword
TypeError: WebDriver.__init__() got an unexpected keyword argument 'desired_capabilities'
(downgrading to Selenium 4.9.1 fixes it)