selenium-webdriver/firefox~ ServiceBuilder

Creates selenium-webdriver/remote.DriverService instances that manage a geckodriver server in a child process.

Constructor

new ServiceBuilder(opt_exeopt)

Parameters:
NameTypeAttributesDescription
opt_exestring<optional>

Path to the server executable to use. If omitted, the builder will attempt to locate the geckodriver on the system PATH.

Methods

enableVerboseLogging(opt_traceopt) → (non-null) {ServiceBuilder}

Enables verbose logging.

Parameters:
NameTypeAttributesDescription
opt_traceboolean<optional>

Whether to enable trace-level logging. By default, only debug logging is enabled.

Returns:

A self reference.

Type: 
ServiceBuilder