public class EdgeDriverService
extends org.openqa.selenium.remote.service.DriverService
| Modifier and Type | Class and Description |
|---|---|
static class |
EdgeDriverService.Builder
Builder used to configure new
EdgeDriverService instances. |
| Modifier and Type | Field and Description |
|---|---|
static String |
EDGE_DRIVER_EXE_PROPERTY
System property that defines the location of the msedgedriver executable that will be used by
the
default service. |
static String |
EDGE_DRIVER_LOG_PROPERTY
System property that defines the location of the log that will be written by
the
default service. |
static String |
EDGE_DRIVER_SILENT_OUTPUT_PROPERTY
Boolean system property that defines whether the msedgedriver executable should be started
in silent mode.
|
static String |
EDGE_DRIVER_VERBOSE_LOG_PROPERTY
Boolean system property that defines whether the msedgedriver executable should be started
with verbose logging.
|
static String |
EDGE_DRIVER_WHITELISTED_IPS_PROPERTY
System property that defines comma-separated list of remote IPv4 addresses which are
allowed to connect to EdgeDriver.
|
| Constructor and Description |
|---|
EdgeDriverService(File executable,
int port,
com.google.common.collect.ImmutableList<String> args,
com.google.common.collect.ImmutableMap<String,String> environment) |
| Modifier and Type | Method and Description |
|---|---|
static EdgeDriverService |
createDefaultService()
Configures and returns a new
EdgeDriverService using the default configuration. |
public static final String EDGE_DRIVER_EXE_PROPERTY
default service.public static final String EDGE_DRIVER_LOG_PROPERTY
default service.public static final String EDGE_DRIVER_VERBOSE_LOG_PROPERTY
public static final String EDGE_DRIVER_SILENT_OUTPUT_PROPERTY
public static final String EDGE_DRIVER_WHITELISTED_IPS_PROPERTY
public EdgeDriverService(File executable, int port, com.google.common.collect.ImmutableList<String> args, com.google.common.collect.ImmutableMap<String,String> environment) throws IOException
executable - The msedgedriver executable.port - Which port to start the EdgeDriver on.args - The arguments to the launched server.environment - The environment for the launched server.IOException - If an I/O error occurs.public static EdgeDriverService createDefaultService()
EdgeDriverService using the default configuration. In
this configuration, the service will use the msedgedriver 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.Copyright © 2021. All rights reserved.