public class EdgeOptions extends org.openqa.selenium.chromium.ChromiumOptions<EdgeOptions>
EdgeDriver
.
Example usage:
EdgeOptions options = new EdgeOptions()
options.addExtensions(new File("/path/to/extension.crx"))
options.setBinary(new File("/path/to/edge"));
// For use with EdgeDriver:
EdgeDriver driver = new EdgeDriver(options);
// For use with RemoteWebDriver:
RemoteWebDriver driver = new RemoteWebDriver(
new URL("http://localhost:4444/wd/hub"),
new EdgeOptions());
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CAPABILITY
Key used to store a set of ChromeOptions in a
Capabilities
object. |
Constructor and Description |
---|
EdgeOptions() |
addArguments, addArguments, addEncodedExtensions, addEncodedExtensions, addExtensions, addExtensions, amendHashCode, asMap, merge, setBinary, setBinary, setExperimentalOption, setHeadless
setAcceptInsecureCerts, setPageLoadStrategy, setProxy, setStrictFileInteractability, setUnhandledPromptBehaviour
setCapability, setCapability, setCapability, setCapability
public static final java.lang.String CAPABILITY
Capabilities
object.