# Module selenium-webdriver/remote

code »

## Classes

DriverService Manages the life and death of a native executable WebDriver server. SeleniumServer Manages the life and death of the Selenium standalone server.

Show:Public Protected Private

## Type Definitions

code »ServiceOptions : `{port: (number|!webdriver.promise.Promise.<number>), args: !(Array.<string>|webdriver.promise.Promise), path: (string|undefined), env: (!Object.<string, string>|undefined), stdio: (string|!Array|undefined)}`
Configuration options for a DriverService instance.

- `loopback` - Whether the service should only be accessed on this host's loopback address.
- `port` - 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.
- `args` - The arguments to pass to the service. If a promise is provided, the service will wait for it to resolve before starting.
- `path` - The base path on the server for the WebDriver wire protocol (e.g. '/wd/hub'). Defaults to '/'.
- `env` - The environment variables that should be visible to the server process. Defaults to inheriting the current process's environment.
- `stdio` - IO configuration for the spawned server process. For more information, refer to the documentation of `child_process.spawn`.