public class EdgeOptions
extends org.openqa.selenium.MutableCapabilities
EdgeDriver
.
Example usage:
EdgeOptions options = new EdgeOptions()
// For use with EdgeDriver:
EdgeDriver driver = new EdgeDriver(options);
// For use with RemoteWebDriver:
EdgeOptions options = new EdgeOptions();
RemoteWebDriver driver = new RemoteWebDriver(
new URL("http://localhost:4444/wd/hub"), options);
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CAPABILITY
Key used to store a set of EdgeOptions in a
Capabilities object. |
Constructor and Description |
---|
EdgeOptions() |
Modifier and Type | Method and Description |
---|---|
protected int |
amendHashCode() |
java.util.Map<java.lang.String,java.lang.Object> |
asMap() |
EdgeOptions |
merge(org.openqa.selenium.Capabilities extraCapabilities) |
void |
setPageLoadStrategy(java.lang.String strategy)
Sets the page load strategy for Edge
Supported values are "normal", "eager" and "none"
|
EdgeOptions |
setProxy(org.openqa.selenium.Proxy proxy) |
setCapability, setCapability, setCapability, setCapability
public static final java.lang.String CAPABILITY
Capabilities
object.public EdgeOptions merge(org.openqa.selenium.Capabilities extraCapabilities)
merge
in interface org.openqa.selenium.Capabilities
merge
in class org.openqa.selenium.MutableCapabilities
public void setPageLoadStrategy(java.lang.String strategy)
strategy
- strategy for page load: normal, eager or nonepublic EdgeOptions setProxy(org.openqa.selenium.Proxy proxy)
public java.util.Map<java.lang.String,java.lang.Object> asMap()
asMap
in interface org.openqa.selenium.Capabilities
asMap
in class org.openqa.selenium.MutableCapabilities
protected int amendHashCode()