1package com.iselsoft.easyium;2import org.openqa.selenium.Capabilities;3import org.openqa.selenium.edge.EdgeDriverService;4import org.openqa.selenium.edge.EdgeOptions;5public class EdgeDriver extends WebDriver {6 /**7 * Creates a new EdgeDriver using the {@link EdgeDriverService#createDefaultService default}8 * server configuration.9 *10 * @see #EdgeDriver(EdgeDriverService, EdgeOptions)11 */12 public EdgeDriver() {13 super(new org.openqa.selenium.edge.EdgeDriver());14 }15 /**16 * Creates a new EdgeDriver instance. The {@code service} will be started along with the driver,17 * and shutdown upon calling {@link #quit()}.18 *19 * @param service The service to use.20 * @see #EdgeDriver(EdgeDriverService, EdgeOptions)21 */22 public EdgeDriver(EdgeDriverService service) {23 super(new org.openqa.selenium.edge.EdgeDriver(service));24 }25 /**26 * Creates a new EdgeDriver instance. The {@code capabilities} will be passed to the27 * edgedriver service.28 *29 * @param capabilities The capabilities required from the EdgeDriver.30 * @see #EdgeDriver(EdgeDriverService, Capabilities)31 */32 public EdgeDriver(Capabilities capabilities) {33 super(new org.openqa.selenium.edge.EdgeDriver(capabilities));34 }35 /**36 * Creates a new EdgeDriver instance with the specified options.37 *38 * @param options The options to use.39 * @see #EdgeDriver(EdgeDriverService, EdgeOptions)40 */41 public EdgeDriver(EdgeOptions options) {42 super(new org.openqa.selenium.edge.EdgeDriver(options));43 }44 /**45 * Creates a new EdgeDriver instance with the specified options. The {@code service} will be46 * started along with the driver, and shutdown upon calling {@link #quit()}.47 *48 * @param service The service to use.49 * @param options The options to use.50 */51 public EdgeDriver(EdgeDriverService service, EdgeOptions options) {52 super(new org.openqa.selenium.edge.EdgeDriver(service, options));53 }54 /**55 * Creates a new EdgeDriver instance. The {@code service} will be started along with the56 * driver, and shutdown upon calling {@link #quit()}.57 *58 * @param service The service to use.59 * @param capabilities The capabilities required from the EdgeDriver.60 */61 public EdgeDriver(EdgeDriverService service, Capabilities capabilities) {62 super(new org.openqa.selenium.edge.EdgeDriver(service, capabilities));63 }64 @Override65 public WebDriverType getWebDriverType() {66 return WebDriverType.EDGE;67 }68}...