public class EdgeDriverService extends DriverService
| 限定符和类型 | 类和说明 |
|---|---|
static class |
EdgeDriverService.Builder |
| 限定符和类型 | 字段和说明 |
|---|---|
static String |
EDGE_DRIVER_EXE_PROPERTY
System property that defines the location of the MicrosoftWebDriver executable that will be used by
the
default service. |
| 构造器和说明 |
|---|
EdgeDriverService(File executable,
int port,
com.google.common.collect.ImmutableList<String> args,
com.google.common.collect.ImmutableMap<String,String> environment) |
| 限定符和类型 | 方法和说明 |
|---|---|
static EdgeDriverService |
createDefaultService()
Configures and returns a new
EdgeDriverService using the default configuration. |
getUrl, isRunning, start, stoppublic static final String EDGE_DRIVER_EXE_PROPERTY
default service.public EdgeDriverService(File executable, int port, com.google.common.collect.ImmutableList<String> args, com.google.common.collect.ImmutableMap<String,String> environment) throws IOException
IOExceptionpublic static EdgeDriverService createDefaultService()
EdgeDriverService using the default configuration. In
this configuration, the service will use the MicrosoftWebDriver executable identified by the
EDGE_DRIVER_EXE_PROPERTY system property. Each service created by this method will
be configured to use a free port on the current system.