We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a0b1418 commit c1b7c17Copy full SHA for c1b7c17
java/client/src/org/openqa/selenium/firefox/FirefoxOptions.java
@@ -134,7 +134,7 @@ public FirefoxOptions(Capabilities source) {
134
if (that.profile != null) { setProfile(that.profile); }
135
} else if (raw instanceof Map) {
136
Map<?, ?> that = (Map<?, ?>) raw;
137
- if (that.containsKey("args")) { addArguments((String) that.get(args)); }
+ if (that.containsKey("args")) { addArguments((String) that.get("args")); }
138
if (that.containsKey("binary")) { setBinary((String) that.get("binary")); }
139
if (that.containsKey("log")) {
140
Map<?, ?> logStruct = (Map<?, ?>) that.get("log");
0 commit comments