public class GeckoDriverService extends DriverService
Modifier and Type | Class and Description |
---|---|
static class |
GeckoDriverService.Builder
Builder used to configure new
GeckoDriverService instances. |
Modifier and Type | Field and Description |
---|---|
static String |
GECKO_DRIVER_EXE_PROPERTY
System property that defines the location of the GeckoDriver executable
that will be used by the
default service . |
Modifier and Type | Method and Description |
---|---|
static GeckoDriverService |
createDefaultService()
Configures and returns a new
GeckoDriverService using the default configuration. |
checkExecutable, findExecutable, getUrl, isRunning, start, stop
public static final String GECKO_DRIVER_EXE_PROPERTY
default service
.public static GeckoDriverService createDefaultService()
GeckoDriverService
using the default configuration. In
this configuration, the service will use the GeckoDriver executable identified by the
GECKO_DRIVER_EXE_PROPERTY
system property. Each service created by this method will
be configured to use a free port on the current system.Copyright © 2015. All rights reserved.