Optional
opt_exe: stringPath to the server executable to use. If omitted, the builder will attempt to locate the geckodriver on the system PATH.
Define additional command line arguments to use when starting the server.
Rest
...var_args: string[]The arguments to include.
A self reference.
Creates a new DriverService using this instance's current configuration.
A new driver service.
Enables verbose logging.
Optional
opt_trace: booleanWhether to enable trace-level logging. By default, only debug logging is enabled.
A self reference.
Defines the environment to start the server under. This setting will be inherited by every browser session started by the server. By default, the server will inherit the enviroment of the current process.
The desired
environment to use, or null
if the server should inherit the
current environment.
A self reference.
Sets the path to the executable Firefox binary that the geckodriver should use. If this method is not called, this builder will attempt to locate Firefox in the default installation location for the current platform.
Path to the executable Firefox binary to use.
A self reference.
Binary#locate()
Sets the host name to access the server on. If specified, the #setLoopback() loopback setting will be ignored.
A self reference.
Sets whether the service should be accessed at this host's loopback address.
A self reference.
Sets the base path for WebDriver REST commands (e.g. "/wd/hub"). By default, the driver will accept commands relative to "/".
The base path to use, or null
to use the
default.
A self reference.
Sets the port to start the server on.
The port to use, or 0 for any free port.
A self reference.
If an invalid port is specified.
IO configuration for the spawned server process. For more information,
refer to the documentation of child_process.spawn
.
The desired IO configuration.
A self reference.
Generated using TypeDoc
Creates selenium-webdriver/remote.DriverService instances that manage a geckodriver server in a child process.