Skip to content

Commit 0315a7f

Browse files
committed
[java] Fixing FirefoxOptions copy constructor to fill all the standard capabilities for Firefox
1 parent 35e4776 commit 0315a7f

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
@@ -97,7 +97,7 @@ public FirefoxOptions() {
9797

9898
public FirefoxOptions(Capabilities source) {
9999
// We need to initialize all our own fields before calling.
100-
super();
100+
this();
101101
source.asMap().forEach((key, value)-> {
102102
if (value != null) {
103103
setCapability(key, value);

0 commit comments

Comments
 (0)