Package org.openqa.selenium.edgehtml
Class EdgeHtmlDriverService
- java.lang.Object
-
- org.openqa.selenium.remote.service.DriverService
-
- org.openqa.selenium.edgehtml.EdgeHtmlDriverService
-
public class EdgeHtmlDriverService extends org.openqa.selenium.remote.service.DriverService
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
EdgeHtmlDriverService.Builder
-
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.
-
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 newEdgeHtmlDriverService
using the default configuration.
-
-
-
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 newEdgeHtmlDriverService
using the default configuration. In this configuration, the service will use the MicrosoftWebDriver executable identified by theEDGEHTML_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.
-
-