Package org.openqa.selenium.edgehtml
Class EdgeHtmlOptions
- java.lang.Object
-
- org.openqa.selenium.MutableCapabilities
-
- org.openqa.selenium.remote.AbstractDriverOptions<EdgeHtmlOptions>
-
- org.openqa.selenium.edgehtml.EdgeHtmlOptions
-
- All Implemented Interfaces:
org.openqa.selenium.Capabilities
public class EdgeHtmlOptions extends org.openqa.selenium.remote.AbstractDriverOptions<EdgeHtmlOptions>
Class to manage options specific toEdgeHtmlDriver
.Example usage:
EdgeHtmlOptions options = new EdgeHtmlOptions() options.setBinary(new File("/path/to/edge")); // For use with EdgeDriver: EdgeHtmlDriver driver = new EdgeHtmlDriver(options); // For use with RemoteWebDriver: RemoteWebDriver driver = new RemoteWebDriver( new URL("http://localhost:4444/"), new EdgeHtmlOptions());
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
CAPABILITY
Key used to store a set of EdgeHtmlOptions in aCapabilities
object.static java.lang.String
USE_CHROMIUM
Key used to indicate whether to use an Edge Chromium or Edge Legacy driver.
-
Constructor Summary
Constructors Constructor Description EdgeHtmlOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EdgeHtmlOptions
merge(org.openqa.selenium.Capabilities extraCapabilities)
-
Methods inherited from class org.openqa.selenium.remote.AbstractDriverOptions
setAcceptInsecureCerts, setPageLoadStrategy, setProxy, setStrictFileInteractability, setUnhandledPromptBehaviour
-
Methods inherited from class org.openqa.selenium.MutableCapabilities
amendHashCode, asMap, equals, getCapability, getCapabilityNames, hashCode, setCapability, setCapability, setCapability, setCapability, toJson, toString
-
-
-
-
Field Detail
-
USE_CHROMIUM
public static final java.lang.String USE_CHROMIUM
Key used to indicate whether to use an Edge Chromium or Edge Legacy driver.- See Also:
- Constant Field Values
-
CAPABILITY
public static final java.lang.String CAPABILITY
Key used to store a set of EdgeHtmlOptions in aCapabilities
object.- See Also:
- Constant Field Values
-
-
Method Detail
-
merge
public EdgeHtmlOptions merge(org.openqa.selenium.Capabilities extraCapabilities)
- Specified by:
merge
in interfaceorg.openqa.selenium.Capabilities
- Overrides:
merge
in classorg.openqa.selenium.MutableCapabilities
-
-