Property | Type | Description | |
---|---|---|---|
AcceptUntrustedCertificates | bool |
Method | Description | |
---|---|---|
ChromeDriver ( ) : System |
Initializes a new instance of the ChromeDriver class.
|
|
ChromeDriver ( string chromeDriverDirectory ) : System |
Initializes a new instance of the ChromeDriver class using the specified path to the directory containing ChromeDriver.exe.
|
|
ChromeDriver ( string chromeDriverDirectory, System.TimeSpan commandTimeout ) : System |
Initializes a new instance of the ChromeDriver class using the specified path to the directory containing ChromeDriver.exe and command timeout.
|
|
GetScreenshot ( ) : Screenshot |
Gets a Screenshot object representing the image of the page on the screen.
|
Method | Description | |
---|---|---|
StartClient ( ) : void |
By default will try to load Chrome from system property webdriver.chrome.bin and the extension from webdriver.chrome.extensiondir. If the former fails, will try to guess the path to Chrome. If the latter fails, will try to unzip from the JAR we hope we're in. If these fail, throws exceptions.
|
|
StopClient ( ) : void |
Kills the started Chrome process and ChromeCommandExecutor if they exist
|
Method | Description | |
---|---|---|
ChromeDriver ( |
Initializes a new instance of the ChromeDriver class using the specified ChromeDriverService.
|
public ChromeDriver ( string chromeDriverDirectory ) : System | ||
chromeDriverDirectory | string | The full path to the directory containing ChromeDriver.exe. |
return | System |
public ChromeDriver ( string chromeDriverDirectory, System.TimeSpan commandTimeout ) : System | ||
chromeDriverDirectory | string | The full path to the directory containing ChromeDriver.exe. |
commandTimeout | System.TimeSpan | The maximum amount of time to wait for each command. |
return | System |