Skip to content

Commit c1b7c17

Browse files
committed
Apparently args and "args" is not the same
1 parent a0b1418 commit c1b7c17

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

java/client/src/org/openqa/selenium/firefox/FirefoxOptions.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ public FirefoxOptions(Capabilities source) {
134134
if (that.profile != null) { setProfile(that.profile); }
135135
} else if (raw instanceof Map) {
136136
Map<?, ?> that = (Map<?, ?>) raw;
137-
if (that.containsKey("args")) { addArguments((String) that.get(args)); }
137+
if (that.containsKey("args")) { addArguments((String) that.get("args")); }
138138
if (that.containsKey("binary")) { setBinary((String) that.get("binary")); }
139139
if (that.containsKey("log")) {
140140
Map<?, ?> logStruct = (Map<?, ?>) that.get("log");

0 commit comments

Comments
 (0)