Constructor
new ServiceBuilder(exeopt)
Name | Type | Attributes | Description |
---|---|---|---|
exe | string | <optional> | Path to the server executable to use. Subclasses should ensure a valid path to the appropriate exe is provided. |
- Source
Methods
enableChromeLogging() → (non-null) {ServiceBuilder}
Enables Chrome logging.
- Source
A self reference.
- Type:
- ServiceBuilder
enableVerboseLogging() → (non-null) {ServiceBuilder}
Enables verbose logging.
- Source
A self reference.
- Type:
- ServiceBuilder
loggingTo(path) → (non-null) {ServiceBuilder}
Sets the path of the log file the driver should log to. If a log file is not specified, the driver will log to stderr.
Name | Type | Description |
---|---|---|
path | string | Path of the log file to use. |
- Source
A self reference.
- Type:
- ServiceBuilder
setAdbPort(port) → (non-null) {ServiceBuilder}
Sets which port adb is listening to. The driver will connect to adb if an Android session is requested, but adb must be started beforehand.
Name | Type | Description |
---|---|---|
port | number | Which port adb is running on. |
- Source
A self reference.
- Type:
- ServiceBuilder
setNumHttpThreads(n) → (non-null) {ServiceBuilder}
Sets the number of threads the driver should use to manage HTTP requests. By default, the driver will use 4 threads.
Name | Type | Description |
---|---|---|
n | number | The number of threads to use. |
- Source
A self reference.
- Type:
- ServiceBuilder
setPath()
- Source