ChromeDriverService CreateDefaultService Method (String)WebDriver
Creates a default instance of the ChromeDriverService using a specified path to the ChromeDriver executable.

Namespace: OpenQA.Selenium.Chrome
Assembly: WebDriver (in WebDriver.dll) Version: 2.35.0.0 (2.35.0.0)
Syntax

public static ChromeDriverService CreateDefaultService(
	string driverPath
)

Parameters

driverPath
Type: OnlineSystem String
The directory containing the ChromeDriver executable.

Return Value

A ChromeDriverService using a random port.
See Also