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

[rb] remove deprecated code #12417

Merged
merged 1 commit into from
Jul 25, 2023
Merged

[rb] remove deprecated code #12417

merged 1 commit into from
Jul 25, 2023

Conversation

titusfortner
Copy link
Member

Description

  • Removes #headless! methods
  • Enforces w3c compliance in Options classes
  • finally removes the Service#driver_opts code; a poorly conceived idea to convert key/value pairs into args
  • removed the class methods for browsers for Remote::Capabilities. Want to encourage people to move to Options as much as possible. (next release we remove ability for users to pass Capabilities instance to local drivers)
  • removed the aliases for JWP capabilities

Motivation and Context

This is everything that was deprecated for Selenium 4.8 in January 2023.
Removes a lot of extra code.

@compwron
Copy link

FYI (for anyone getting here later) this is a breaking change for using selenium for IE testing, oops.

@titusfortner
Copy link
Member Author

Yes, we only deprecate for breaking changes, so removing a deprecation is always a breaking change.
Selenium does not do semantic versioning.

robinjam added a commit to alphagov/smokey that referenced this pull request Oct 12, 2023
robinjam added a commit to alphagov/smokey that referenced this pull request Oct 12, 2023
Context for changes:

- https://www.selenium.dev/blog/2023/headless-is-going-away/
- SeleniumHQ/selenium#12417

We must use `--headless` instead of `--headless=new` because the latter causes chromedriver to crash when running within Docker (for some reason 🤷)
robinjam added a commit to alphagov/smokey that referenced this pull request Oct 12, 2023
Context for changes:

- https://www.selenium.dev/blog/2023/headless-is-going-away/
- SeleniumHQ/selenium#12417

We must use `--headless` instead of `--headless=new` because the latter causes chromedriver to crash when running within Docker (for some reason 🤷)
sue445 added a commit to sue445/apple_system_status that referenced this pull request Dec 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants