Class EdgeDriverService

  • Direct Known Subclasses:
    ChromiumEdgeDriverService

    public abstract class EdgeDriverService
    extends org.openqa.selenium.remote.service.DriverService
    Manages the life and death of the EdgeDriver (MicrosoftWebDriver or MSEdgeDriver).
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String EDGE_DRIVER_EXE_PROPERTY
      System property that defines the location of the EdgeDriver executable that will be used by the default service.
      static java.lang.String EDGE_DRIVER_LOG_PROPERTY
      System property that defines the default location where MicrosoftWebDriver output is logged.
      static java.lang.String EDGE_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

        process
    • Constructor Summary

      Constructors 
      Constructor Description
      EdgeDriverService​(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

      • Methods inherited from class org.openqa.selenium.remote.service.DriverService

        checkExecutable, findExecutable, getArgs, getEnvironment, getOutputStream, 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

      • EDGE_DRIVER_EXE_PROPERTY

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

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

        public static final java.lang.String EDGE_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

      • EdgeDriverService

        public EdgeDriverService​(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
        Parameters:
        executable - The EdgeDriver executable.
        port - Which port to start the EdgeDriver on.
        args - The arguments to the launched server.
        environment - The environment for the launched server.
        Throws:
        java.io.IOException - If an I/O error occurs.