|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openqa.selenium.chrome.ChromeDriverService.Builder
public static class ChromeDriverService.Builder
Builder used to configure new ChromeDriverService
instances.
Constructor Summary | |
---|---|
ChromeDriverService.Builder()
|
Method Summary | |
---|---|
ChromeDriverService |
build()
Creates a new binary to manage the chromedriver server. |
ChromeDriverService.Builder |
usingAnyFreePort()
Configures the chromedriver server to start on any available port. |
ChromeDriverService.Builder |
usingChromeDriverExecutable(File file)
Sets which chromedriver executable the builder will use. |
ChromeDriverService.Builder |
usingPort(int port)
Sets which port the chromedriver server should be started on. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ChromeDriverService.Builder()
Method Detail |
---|
public ChromeDriverService.Builder usingChromeDriverExecutable(File file)
file
- The executable to use.
public ChromeDriverService.Builder usingPort(int port)
port
- The port to use; must be non-negative.
public ChromeDriverService.Builder usingAnyFreePort()
public ChromeDriverService build()
the API
or with the
webdriver.chrome.driver
system property.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |