|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.openqa.selenium.chrome.ChromeDriverService
public class ChromeDriverService
Manages the life and death of a chromedriver server.
| Nested Class Summary | |
|---|---|
static class |
ChromeDriverService.Builder
Builder used to configure new ChromeDriverService instances. |
| Field Summary | |
|---|---|
static java.lang.String |
CHROME_DRIVER_EXE_PROPERTY
System property that defines the location of the chromedriver executable that will be used by the default service. |
| Method Summary | |
|---|---|
static ChromeDriverService |
createDefaultService()
Configures and returns a new ChromeDriverService using the default configuration. |
java.net.URL |
getUrl()
|
boolean |
isRunning()
Checks whether the chromedriver child proces is currently running. |
void |
start()
Starts this service if it is not already running. |
void |
stop()
Stops this service is it is currently running. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String CHROME_DRIVER_EXE_PROPERTY
default service.
| Method Detail |
|---|
public java.net.URL getUrl()
public static ChromeDriverService createDefaultService()
ChromeDriverService using the default configuration. In
this configuration, the service will use the chromedriver executable identified by the
CHROME_DRIVER_EXE_PROPERTY system property. Each service created by this method will
be configured to use a free port on the current system.
public boolean isRunning()
public void start()
throws java.io.IOException
java.io.IOException - If an error occurs while spawning the child process.stop()public void stop()
start()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||