[py] Remove deprecated FTP proxy support #16721
Merged
+0
−38
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
#15905
#15906
💥 What does this PR do?
FTP proxy support was deprecated in Selenium 4.34.2 (#15906). This PR removes the code and tests completely from the Python bindings.
🔄 Types of changes
PR Type
Bug fix, Other
Description
Remove deprecated FTP proxy support from Python bindings
Delete
ftpProxyattribute andftp_proxydescriptorRemove deprecation warnings and related TODO comments
Update proxy tests to remove FTP proxy references
Diagram Walkthrough
File Walkthrough
proxy.py
Remove FTP proxy attribute and deprecation logicpy/selenium/webdriver/common/proxy.py
import warningsstatement_ProxyTypeDescriptor.__set__method
ftpProxyclass attribute initializationftp_proxydescriptor definition and documentation__init__methodftpProxyfrom proxy capabilities list into_capabilitiesmethod
proxy_tests.py
Remove FTP proxy test cases and assertionspy/test/selenium/webdriver/common/proxy_tests.py
ftpProxyentry fromMANUAL_PROXYtest dictionarytest_can_add_manual_proxy_to_optionstest
test_can_init_manual_proxytesttest_can_init_empty_proxytest