[java] Add RemoteWebDriver.getClientFactory() and move HttpCommandExecutor field removal to 4.53 - #18111
Merged
Conversation
…cutor field removal to 4.53 Subclasses like Appium's AppiumDriver can use the driver's HTTP client factory to create their own clients, instead of relying on the deprecated HttpCommandExecutor fields. Moving the removal of those fields to 4.53 gives Appium time to switch. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
PR Summary by QodoExpose RemoteWebDriver's HTTP client factory to subclasses
AI Description
Diagram
High-Level Assessment
Files changed (3)
|
Contributor
Code Review by Qodo🐞 Bugs (0) 📘 Rule violations (0) 📎 Requirement gaps (0)
Great, no issues found!Qodo reviewed your code and found no material issues that require reviewTip of the day💡 Did you know, you can keep summaries lean with Findings visible per group, which tucks the rest behind a View link |
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
🔗 Related Issues
Follow-up to #18038, #18047 and #18098. Needed by appium/java-client#2458.
💥 What does this PR do?
protected HttpClient.Factory getClientFactory()toRemoteWebDriver. Subclasses, like Appium'sAppiumDriver, can use it to create their own HTTP and WebSocket clients. Then they don't need the deprecatedHttpCommandExecutorfields.HttpCommandExecutor.client(public access) andhttpClientFactoryfrom 4.52 to 4.53. This gives Appium time to switch to the new getter.🔧 Implementation Notes
getClientConfig()is already public, so only the factory was missing.🤖 AI assistance
💡 Additional Considerations
Java only. No other bindings are affected.
🔄 Types of changes
🤖 Generated with Claude Code