Skip to content

Commit 0e89378

Browse files
ham1barancev
authored andcommitted
Added merge method to OperaOptions
Signed-off-by: Alexei Barantsev <barancev@gmail.com>
1 parent 8afc242 commit 0e89378

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

java/client/src/org/openqa/selenium/opera/OperaOptions.java

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
import com.google.common.collect.Maps;
2828
import com.google.common.io.Files;
2929

30+
import org.openqa.selenium.Capabilities;
3031
import org.openqa.selenium.MutableCapabilities;
3132
import org.openqa.selenium.Proxy;
3233
import org.openqa.selenium.WebDriverException;
@@ -76,6 +77,12 @@ public OperaOptions() {
7677
setCapability(BROWSER_NAME, OPERA_BLINK);
7778
}
7879

80+
@Override
81+
public OperaOptions merge(Capabilities extraCapabilities) {
82+
super.merge(extraCapabilities);
83+
return this;
84+
}
85+
7986
/**
8087
* Sets the path to the Opera executable. This path should exist on the
8188
* machine which will launch Opera. The path should either be absolute or

0 commit comments

Comments
 (0)