public class InternetExplorerDriverService extends DriverService
Modifier and Type | Class and Description |
---|---|
static class |
InternetExplorerDriverService.Builder
Builder used to configure new
InternetExplorerDriverService instances. |
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
IE_DRIVER_ENGINE_PROPERTY
System property that defines the implementation of the driver engine to use.
|
static 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 . |
static java.lang.String |
IE_DRIVER_EXTRACT_PATH_PROPERTY
System property that defines path to which will be extracted IEDriverServer library.
|
static java.lang.String |
IE_DRIVER_HOST_PROPERTY
System property that defines host to which will be bound IEDriverServer.
|
static java.lang.String |
IE_DRIVER_LOGFILE_PROPERTY
System property that defines the location of the file where IEDriverServer
should write log messages to.
|
static java.lang.String |
IE_DRIVER_LOGLEVEL_PROPERTY
System property that defines the detalization level the IEDriverServer logs.
|
static java.lang.String |
IE_DRIVER_SILENT_PROPERTY
System property that defines logging to stdout for IEDriverServer.
|
Modifier | Constructor and Description |
---|---|
private |
InternetExplorerDriverService(java.io.File executable,
int port,
com.google.common.collect.ImmutableList<java.lang.String> args,
com.google.common.collect.ImmutableMap<java.lang.String,java.lang.String> environment) |
Modifier and Type | Method and Description |
---|---|
static InternetExplorerDriverService |
createDefaultService()
Configures and returns a new
InternetExplorerDriverService using the default configuration. |
checkExecutable, findExecutable, getUrl, isRunning, start, stop, waitUntilAvailable
public static final java.lang.String IE_DRIVER_EXE_PROPERTY
default service
.public static final java.lang.String IE_DRIVER_LOGFILE_PROPERTY
public static final java.lang.String IE_DRIVER_LOGLEVEL_PROPERTY
public static final java.lang.String IE_DRIVER_ENGINE_PROPERTY
public static final java.lang.String IE_DRIVER_HOST_PROPERTY
public static final java.lang.String IE_DRIVER_EXTRACT_PATH_PROPERTY
public static final java.lang.String IE_DRIVER_SILENT_PROPERTY
private InternetExplorerDriverService(java.io.File executable, int port, com.google.common.collect.ImmutableList<java.lang.String> args, com.google.common.collect.ImmutableMap<java.lang.String,java.lang.String> environment) throws java.io.IOException
executable
- The IEDriverServer executable.port
- Which port to start the IEDriverServer on.args
- The arguments to the launched server.environment
- The environment for the launched server.java.io.IOException
- If an I/O error occurs.public static InternetExplorerDriverService createDefaultService()
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.