Skip to content
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

Use :options argument instead of :capabilities #338

Merged

Conversation

gustavosobral
Copy link
Contributor

Fix selenium-webdriver capabilities deprecation warning. In the CI at the moment at we have the following log:

Randomized with seed 31709
........................2023-08-27 21:24:50 WARN Selenium [:capabilities] [DEPRECATION] The :capabilities parameter for Selenium::WebDriver::Chrome::Driver is deprecated. Use :options argument with an instance of Selenium::WebDriver::Chrome::Driver instead. 
................................................................................................*...................................................................................................................................................

This should fix this warning.

@ronwsmith ronwsmith merged commit 20de0b6 into oesmith:master Aug 30, 2023
5 checks passed
@ronwsmith
Copy link
Collaborator

Released in v4.0.0

@gustavosobral gustavosobral deleted the fix-capabilities-deprecation-chrome branch August 30, 2023 14:06
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