Class ServiceBuilder
code »Creates remote.DriverService
instances that manage a ChromeDriver
server.
Constructor
Show:
Instance Methods
code »enableVerboseLogging ( ) ⇒ !ServiceBuilder
Enables verbose logging.
!ServiceBuilder
Returns |
---|
|
code »setNumHttpThreads ( n ) ⇒ !ServiceBuilder
Sets 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 ) ⇒ !ServiceBuilder
Sets 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 ) ⇒ !ServiceBuilder
Defines the environment to start the server under. This settings will be
inherited by every browser session started by the server.
!ServiceBuilder