Creates a default instance of the ChromeDriverService using a specified path to the ChromeDriver executable.
Namespace: OpenQA.Selenium.ChromeAssembly: WebDriver (in WebDriver.dll) Version: 2.35.0.0 (2.35.0.0)
Syntax
public static ChromeDriverService CreateDefaultService( string driverPath )
Parameters
- driverPath
- Type:
System String
The directory containing the ChromeDriver executable.
Return Value
A ChromeDriverService using a random port.See Also