Skip to content

Commit

Permalink
[java] Fix Proxy Breaking in RemoteWebDriver (#12607)
Browse files Browse the repository at this point in the history
Chore: Fix Proxy Breaking in RemoteWebDriver

Co-authored-by: Diego Molina <[email protected]>
  • Loading branch information
KrishnaSuravarapu and diemol authored Aug 28, 2023
1 parent 98d4640 commit 181f9c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion java/src/org/openqa/selenium/manager/SeleniumManager.java
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ public Result getDriverPath(Capabilities options, boolean offline) {
arguments.add("--offline");
}

Proxy proxy = (Proxy) options.getCapability("proxy");
Proxy proxy = Proxy.extractFrom(options);
if (proxy != null) {
if (proxy.getSslProxy() != null) {
arguments.add("--proxy");
Expand Down

0 comments on commit 181f9c3

Please sign in to comment.