Initializes a new instance of the ChromeDriver class using the specified path
to the directory containing ChromeDriver.exe, options, and command timeout.
Namespace: OpenQA.Selenium.ChromeAssembly: WebDriver (in WebDriver.dll) Version: 2.35.0.0 (2.35.0.0)
Syntax
public ChromeDriver( string chromeDriverDirectory, ChromeOptions options, TimeSpan commandTimeout )
Parameters
- chromeDriverDirectory
- Type:
System String
The full path to the directory containing ChromeDriver.exe.
- options
- Type: OpenQA.Selenium.Chrome ChromeOptions
The ChromeOptions to be used with the Chrome driver.
- commandTimeout
- Type:
System TimeSpan
The maximum amount of time to wait for each command.
See Also