Skip to content

Commit

Permalink
Added merge method to OperaOptions
Browse files Browse the repository at this point in the history
Signed-off-by: Alexei Barantsev <barancev@gmail.com>
  • Loading branch information
ham1 authored and barancev committed Jan 8, 2018
1 parent 8afc242 commit 0e89378
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions java/client/src/org/openqa/selenium/opera/OperaOptions.java
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
import com.google.common.collect.Maps;
import com.google.common.io.Files;

import org.openqa.selenium.Capabilities;
import org.openqa.selenium.MutableCapabilities;
import org.openqa.selenium.Proxy;
import org.openqa.selenium.WebDriverException;
Expand Down Expand Up @@ -76,6 +77,12 @@ public OperaOptions() {
setCapability(BROWSER_NAME, OPERA_BLINK);
}

@Override
public OperaOptions merge(Capabilities extraCapabilities) {
super.merge(extraCapabilities);
return this;
}

/**
* Sets the path to the Opera executable. This path should exist on the
* machine which will launch Opera. The path should either be absolute or
Expand Down

0 comments on commit 0e89378

Please sign in to comment.