Skip to content

TypeError when upgrading to selenium 4.10 #315

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
melisabok opened this issue Sep 7, 2023 · 2 comments · Fixed by #317
Closed

TypeError when upgrading to selenium 4.10 #315

melisabok opened this issue Sep 7, 2023 · 2 comments · Fixed by #317

Comments

@melisabok
Copy link

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?

@BeyondEvil
Copy link
Contributor

Yes, use the previous version of selenium.

@andreymal
Copy link

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants