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);
Constructor and Description |
---|
EdgeOptions() |
Modifier and Type | Method and Description |
---|---|
protected int |
amendHashCode() |
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 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)
protected int amendHashCode()