Class EdgeOptions

  • All Implemented Interfaces:
    Capabilities

    public class EdgeOptions
    extends ChromiumOptions<EdgeOptions>
    Class to manage options specific to 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/"),
         new EdgeOptions());