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
DesiredCapabilities object. |
Constructor and Description |
---|
EdgeOptions() |
Modifier and Type | Method and Description |
---|---|
void |
setPageLoadStrategy(java.lang.String strategy)
Sets the page load strategy for Edge
Supported values are "normal", "eager" and "none"
|
amendHashCode, asMap, equals, getCapability, hashCode, merge, setCapability, setCapability, setCapability, setCapability, toString
public static final java.lang.String CAPABILITY
DesiredCapabilities
object.