Skip to content

Commit 181f9c3

Browse files
[java] Fix Proxy Breaking in RemoteWebDriver (#12607)
Chore: Fix Proxy Breaking in RemoteWebDriver Co-authored-by: Diego Molina <[email protected]>
1 parent 98d4640 commit 181f9c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

java/src/org/openqa/selenium/manager/SeleniumManager.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ public Result getDriverPath(Capabilities options, boolean offline) {
275275
arguments.add("--offline");
276276
}
277277

278-
Proxy proxy = (Proxy) options.getCapability("proxy");
278+
Proxy proxy = Proxy.extractFrom(options);
279279
if (proxy != null) {
280280
if (proxy.getSslProxy() != null) {
281281
arguments.add("--proxy");

0 commit comments

Comments
 (0)