Class InternetExplorerDriverService

  • All Implemented Interfaces:
    java.io.Closeable, java.lang.AutoCloseable

    public class InternetExplorerDriverService
    extends org.openqa.selenium.remote.service.DriverService
    Manages the life and death of an IEDriverServer.
    • Field Detail

      • IE_DRIVER_EXE_PROPERTY

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

        public static final java.lang.String IE_DRIVER_LOGFILE_PROPERTY
        System property that defines the location of the file where IEDriverServer should write log messages to.
        See Also:
        Constant Field Values
      • IE_DRIVER_LOGLEVEL_PROPERTY

        public static final java.lang.String IE_DRIVER_LOGLEVEL_PROPERTY
        System property that defines the detalization level the IEDriverServer logs.
        See Also:
        Constant Field Values
      • IE_DRIVER_HOST_PROPERTY

        public static final java.lang.String IE_DRIVER_HOST_PROPERTY
        System property that defines host to which will be bound IEDriverServer.
        See Also:
        Constant Field Values
      • IE_DRIVER_EXTRACT_PATH_PROPERTY

        public static final java.lang.String IE_DRIVER_EXTRACT_PATH_PROPERTY
        System property that defines path to which will be extracted IEDriverServer library.
        See Also:
        Constant Field Values
      • IE_DRIVER_SILENT_PROPERTY

        public static final java.lang.String IE_DRIVER_SILENT_PROPERTY
        System property that defines logging to stdout for IEDriverServer.
        See Also:
        Constant Field Values
    • Method Detail

      • getDriverName

        public java.lang.String getDriverName()
        Overrides:
        getDriverName in class org.openqa.selenium.remote.service.DriverService
      • getDriverProperty

        public java.lang.String getDriverProperty()
        Overrides:
        getDriverProperty in class org.openqa.selenium.remote.service.DriverService
      • getDefaultDriverOptions

        public org.openqa.selenium.Capabilities getDefaultDriverOptions()
        Overrides:
        getDefaultDriverOptions in class org.openqa.selenium.remote.service.DriverService
      • createDefaultService

        public static InternetExplorerDriverService createDefaultService()
        Configures and returns a new InternetExplorerDriverService using the default configuration. In this configuration, the service will use the IEDriverServer executable identified by the IE_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 InternetExplorerDriverService using the default configuration.