A record object that defines the configuration options for a DriverService instance.
- Source
Members
(non-null) args :Array.<CommandLineFlag>|IThenable.<!Array.<CommandLineFlag>>
The arguments to pass to the service. If a promise is provided, the service will wait for it to resolve before starting.
- Array.<CommandLineFlag> |
IThenable.<!Array.<CommandLineFlag>>
- Source
env :Object.<string, string>|undefined
The environment variables that should be visible to the server process. Defaults to inheriting the current process's environment.
- Object.<string, string> |
undefined
- Source
hostname :string|undefined
The host name to access the server on. If this option is specified, the #loopback option will be ignored.
- string |
undefined
- Source
loopback :boolean|undefined
Whether the service should only be accessed on this host's loopback address.
- boolean |
undefined
- Source
path :string|undefined|null
The base path on the server for the WebDriver wire protocol (e.g. '/wd/hub'). Defaults to '/'.
- string |
undefined | null
- Source
port :number|!IThenable.<number>
The port to start the server on (must be > 0). If the port is provided as a promise, the service will wait for the promise to resolve before starting.
- number |
!IThenable.<number>
- Source
stdio :StdIoOptions|undefined
IO configuration for the spawned server process. For more information, refer to the documentation of child_process.spawn
.
- StdIoOptions |
undefined
- Source