/** * {@inheritDoc} */ @Override public String getPathProperty() { return EdgeDriverService.EDGE_DRIVER_EXE_PROPERTY; }
public Browser createBrowser() { EdgeDriverService service = EdgeDriverService.createDefaultService(); DesiredCapabilities capabilities = getDefaultCapabilities(); return createBrowser(new EdgeDriver(service, capabilities)); }
/** * Creates a new EdgeDriver instance. The {@code service} will be started along with the driver, * and shutdown upon calling {@link #quit()}. * * @param service The service to use. * @see #EdgeDriver(EdgeDriverService, EdgeOptions) */ public EdgeDriver(EdgeDriverService service) { super(new org.openqa.selenium.edge.EdgeDriver(service)); }
/** * Creates a new EdgeDriver instance with the specified options. The {@code service} will be * started along with the driver, and shutdown upon calling {@link #quit()}. * * @param service The service to use. * @param options The options to use. */ public EdgeDriver(EdgeDriverService service, EdgeOptions options) { super(new org.openqa.selenium.edge.EdgeDriver(service, options)); }
/** * Creates a new EdgeDriver instance. The {@code service} will be started along with the * driver, and shutdown upon calling {@link #quit()}. * * @param service The service to use. * @param capabilities The capabilities required from the EdgeDriver. */ public EdgeDriver(EdgeDriverService service, Capabilities capabilities) { super(new org.openqa.selenium.edge.EdgeDriver(service, capabilities)); }