Class ServiceBuilder
code »Creates remote.DriverService instances that manage a ChromeDriver
server.
Constructor
Show:
Instance Methods
code »enableVerboseLogging ( ) ⇒ !ServiceBuilderEnables verbose logging.
!ServiceBuilder| Returns |
|---|
|
code »setNumHttpThreads ( n ) ⇒ !ServiceBuilderSets the number of threads the driver should use to manage HTTP requests.
By default, the driver will use 4 threads.
!ServiceBuilder| Parameters |
|---|
|
| Returns |
|
code »setUrlBasePath ( path ) ⇒ !ServiceBuilderSets the base path for WebDriver REST commands (e.g. "/wd/hub").
By default, the driver will accept commands relative to "/".
!ServiceBuilder| Parameters |
|---|
|
| Returns |
|
code »withEnvironment ( env ) ⇒ !ServiceBuilderDefines the environment to start the server under. This settings will be
inherited by every browser session started by the server.
!ServiceBuilder