SeleniumServer. Options

A record object describing configuration options for a SeleniumServer instance.

Members

(non-null) args :Array.<string>|IThenable.<!Array.<string>>

The arguments to pass to the service. If a promise is provided, the service will wait for it to resolve before starting.

Type:
  • Array.<string> | IThenable.<!Array.<string>>

env :!Object.<string, string>|undefined

The environment variables that should be visible to the server process. Defaults to inheriting the current process's environment.

Type:
  • !Object.<string, string> | undefined

jvmArgs :!Array.<string>|!IThenable.<!Array.<string>>|undefined

The arguments to pass to the JVM. If a promise is provided, the service will wait for it to resolve before starting.

Type:
  • !Array.<string> | !IThenable.<!Array.<string>> | undefined

loopback :boolean|undefined

Whether the server should only be accessible on this host's loopback address.

Type:
  • boolean | undefined

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.

Type:
  • number | !IThenable.<number>

stdio :string|!Array.<(string|number|!stream.Stream|null|undefined)>|undefined

IO configuration for the spawned server process. If unspecified, IO will be ignored.

Type:
  • string | !Array.<(string|number|!stream.Stream|null|undefined)> | undefined