selenium-webdriver/chrome~ ServiceBuilder

Creates selenium-webdriver/remote.DriverService instances that manage a ChromeDriver 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 chromedriver on the current PATH. If the chromedriver is not available in path, selenium-manager will download the chromedriver

Throws:

If provided executable does not exist, or the chromedriver cannot be found on the PATH.

Type
Error