Class EdgeHtmlDriverService


  • public class EdgeHtmlDriverService
    extends org.openqa.selenium.remote.service.DriverService
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String EDGEHTML_DRIVER_EXE_PROPERTY
      System property that defines the location of the MicrosoftWebDriver executable that will be used by the default service.
      static java.lang.String EDGEHTML_DRIVER_LOG_PROPERTY
      System property that defines the default location where MicrosoftWebDriver output is logged.
      static java.lang.String EDGEHTML_DRIVER_VERBOSE_LOG_PROPERTY
      Boolean system property that defines whether the MicrosoftWebDriver executable should be started with verbose logging.
      • Fields inherited from class org.openqa.selenium.remote.service.DriverService

        DEFAULT_TIMEOUT, process
    • Constructor Summary

      Constructors 
      Constructor Description
      EdgeHtmlDriverService​(java.io.File executable, int port, java.time.Duration timeout, java.util.List<java.lang.String> args, java.util.Map<java.lang.String,​java.lang.String> environment)  
      EdgeHtmlDriverService​(java.io.File executable, int port, java.util.List<java.lang.String> args, java.util.Map<java.lang.String,​java.lang.String> environment)  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static EdgeHtmlDriverService createDefaultService()
      Configures and returns a new EdgeHtmlDriverService using the default configuration.
      • Methods inherited from class org.openqa.selenium.remote.service.DriverService

        checkExecutable, findExecutable, getArgs, getEnvironment, getOutputStream, getTimeout, getUrl, getUrl, hasShutdownEndpoint, isRunning, sendOutputTo, start, stop, waitUntilAvailable
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • EDGEHTML_DRIVER_EXE_PROPERTY

        public static final java.lang.String EDGEHTML_DRIVER_EXE_PROPERTY
        System property that defines the location of the MicrosoftWebDriver executable that will be used by the default service.
        See Also:
        Constant Field Values
      • EDGEHTML_DRIVER_LOG_PROPERTY

        public static final java.lang.String EDGEHTML_DRIVER_LOG_PROPERTY
        System property that defines the default location where MicrosoftWebDriver output is logged.
        See Also:
        Constant Field Values
      • EDGEHTML_DRIVER_VERBOSE_LOG_PROPERTY

        public static final java.lang.String EDGEHTML_DRIVER_VERBOSE_LOG_PROPERTY
        Boolean system property that defines whether the MicrosoftWebDriver executable should be started with verbose logging.
        See Also:
        Constant Field Values
    • Constructor Detail

      • EdgeHtmlDriverService

        public EdgeHtmlDriverService​(java.io.File executable,
                                     int port,
                                     java.util.List<java.lang.String> args,
                                     java.util.Map<java.lang.String,​java.lang.String> environment)
                              throws java.io.IOException
        Throws:
        java.io.IOException
      • EdgeHtmlDriverService

        public EdgeHtmlDriverService​(java.io.File executable,
                                     int port,
                                     java.time.Duration timeout,
                                     java.util.List<java.lang.String> args,
                                     java.util.Map<java.lang.String,​java.lang.String> environment)
                              throws java.io.IOException
        Throws:
        java.io.IOException
    • Method Detail

      • createDefaultService

        public static EdgeHtmlDriverService createDefaultService()
        Configures and returns a new EdgeHtmlDriverService using the default configuration. In this configuration, the service will use the MicrosoftWebDriver executable identified by the EDGEHTML_DRIVER_EXE_PROPERTY system property. Each service created by this method will be configured to use a free port on the current system.
        Returns:
        A new EdgeDriverService using the default configuration.