Class EdgeHtmlOptions

  • All Implemented Interfaces:
    org.openqa.selenium.Capabilities

    public class EdgeHtmlOptions
    extends org.openqa.selenium.remote.AbstractDriverOptions<EdgeHtmlOptions>
    Class to manage options specific to EdgeHtmlDriver.

    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 a Capabilities 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
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface org.openqa.selenium.Capabilities

        getBrowserName, getBrowserVersion, getPlatform, getPlatformName, getVersion, is
    • 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 a Capabilities object.
        See Also:
        Constant Field Values
    • Constructor Detail

      • EdgeHtmlOptions

        public EdgeHtmlOptions()
    • Method Detail

      • merge

        public EdgeHtmlOptions merge​(org.openqa.selenium.Capabilities extraCapabilities)
        Specified by:
        merge in interface org.openqa.selenium.Capabilities
        Overrides:
        merge in class org.openqa.selenium.MutableCapabilities