You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This pull request introduces a deprecation notice for FTP proxy support in the ftp= method of the Proxy class in rb/lib/selenium/webdriver/common/proxy.rb.
Deprecation notice:
rb/lib/selenium/webdriver/common/proxy.rb: Added a logger deprecation warning for FTP proxy support in the ftp= method, signaling that this feature will no longer be supported in the future.
🔧 Implementation Notes
💡 Additional Considerations
🔄 Types of changes
Cleanup (formatting, renaming)
PR Type
Other
Description
Add deprecation warning for FTP proxy support in Ruby bindings
Use WebDriver logger to notify users of upcoming removal
Changes walkthrough 📝
Relevant files
Deprecation
proxy.rb
Add FTP proxy deprecation warning
rb/lib/selenium/webdriver/common/proxy.rb
Added deprecation warning using WebDriver.logger.deprecate() in ftp= method
Warning indicates FTP proxy support will be removed in future versions
The deprecation warning lacks information about when the feature will be removed or what alternatives users should consider. The second parameter is nil which could provide version information.
The deprecation warning should specify when the feature will be removed to help users plan their migration. Consider adding a version number or timeline to make the deprecation more actionable.
Why: The suggestion correctly identifies that the deprecation warning is missing a timeline for removal. Providing a target version, as shown in the improved_code, makes the warning more actionable for developers and is a best practice for managing deprecations.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
User description
🔗 Related Issues
fixes #15905
💥 What does this PR do?
This pull request introduces a deprecation notice for FTP proxy support in the
ftp=method of theProxyclass inrb/lib/selenium/webdriver/common/proxy.rb.Deprecation notice:
rb/lib/selenium/webdriver/common/proxy.rb: Added a logger deprecation warning for FTP proxy support in theftp=method, signaling that this feature will no longer be supported in the future.🔧 Implementation Notes
💡 Additional Considerations
🔄 Types of changes
PR Type
Other
Description
Add deprecation warning for FTP proxy support in Ruby bindings
Use WebDriver logger to notify users of upcoming removal
Changes walkthrough 📝
proxy.rb
Add FTP proxy deprecation warningrb/lib/selenium/webdriver/common/proxy.rb
method