org.openqa.selenium.chrome
Class ChromeDriverService
java.lang.Object
org.openqa.selenium.remote.service.DriverService
org.openqa.selenium.chrome.ChromeDriverService
public class ChromeDriverService
- extends DriverService
Manages the life and death of a chromedriver server.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CHROME_DRIVER_EXE_PROPERTY
public static final String CHROME_DRIVER_EXE_PROPERTY
- System property that defines the location of the chromedriver executable that will be used by
the
default service
.
- See Also:
- Constant Field Values
CHROME_DRIVER_LOG_PROPERTY
public static final String CHROME_DRIVER_LOG_PROPERTY
- System property that defines the location of the log that will be written by
the
default service
.
- See Also:
- Constant Field Values
createDefaultService
public static ChromeDriverService createDefaultService()
- Configures and returns a new
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.
- Returns:
- A new ChromeDriverService using the default configuration.
Copyright © 2013. All rights reserved.