Skip to content

Conversation

@filipopo
Copy link
Contributor

In selenium 4.9.1 which this repo is using at the moment, a message pops up about execution_path being deprecated: DeprecationWarning: executable_path has been deprecated, please pass in a Service object

In newer versions of selenium this code doesn't work at all so it should be changed to using the new syntax

filipopo and others added 2 commits August 21, 2023 15:26
In selenium 4.9.1 which this repo is using at the moment, a message pops up about execution_path being deprecated:
DeprecationWarning: executable_path has been deprecated, please pass in a Service object

In newer versions of selenium this code doesn't work at all so it should be changed to using the new syntax
@umihico umihico self-requested a review August 21, 2023 14:20
Copy link
Owner

@umihico umihico left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Worked perfectly. Thank you!

@umihico umihico merged commit 6c75106 into umihico:main Aug 21, 2023
@filipopo
Copy link
Contributor Author

filipopo commented Aug 21, 2023

I think you must bump the selenium version in the Dockerfile now to 4.11.0 at least😅, 4.11.2 is the latest

@umihico
Copy link
Owner

umihico commented Aug 22, 2023

Maybe you're right. It was wrong and didn't work on CI. I misunderstood my CI. Reverted.

@filipopo
Copy link
Contributor Author

filipopo commented Aug 23, 2023

May I ask is there something keeping you from upgrading the selenium version? in my tests this syntax works with selenium >=4.11.0

But if you need to keep this version I can rewrite the commit using webdriver.chrome.service.Service instead of webdriver.ChromeService

@umihico
Copy link
Owner

umihico commented Aug 23, 2023

@filipopo
It was because #175, and just now I realized you are fixing this!

So I created #192.
Thank you again.

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 this pull request may close these issues.

2 participants