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

Replace deprecated headless! Selenium::WebDriver::Chrome::Options #333

Merged

Conversation

gustavosobral
Copy link
Contributor

The selenium-webdriver headless! method has been deprecated since version 4.8 (https://github.com/SeleniumHQ/selenium/blob/trunk/rb/CHANGES#L114) and on version 4.11.0 it got removed (SeleniumHQ/selenium#12417)

According to the documentation https://www.selenium.dev/blog/2023/headless-is-going-away/, the new way to run a headless browser is with the --headless=new argument.

Fixes #332

@ronwsmith ronwsmith merged commit b871ac0 into oesmith:master Aug 27, 2023
5 checks passed
@ronwsmith
Copy link
Collaborator

Thanks for the contribution! Released in 3.2.0.

@gustavosobral gustavosobral deleted the fix-deprecated-headless-selenium branch August 28, 2023 05:14
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.

Breaks when upgrading selenium-webdriver from 4.10.0 to 4.11.0 (headless!)
2 participants