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:

Type Definitions

Configuration options for a DriverService instance.
  • 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.