C# Class OpenQA.Selenium.Chrome.ChromeBinary

Provides a mechanism to find the Chrome Binary
Show file Open project: epall/selenium Class Usage Examples

Private Properties

Property Type Description
ChromeBinary System
GetChromeFile string
IsChromeBinaryLocationKnown bool

Public Methods

Method Description
IncrementStartWaitInterval ( int diff ) : void

Increases the wait time

Kill ( ) : void

Kills off the Browser Instance

Start ( string serverUrl ) : void

Starts the Chrome process for WebDriver. Assumes the passed directories exist.

Private Methods

Method Description
ChromeBinary ( ChromeProfile profile, ChromeExtension extension ) : System

Initializes a new instance of the ChromeBinary class using the given ChromeProfile and extension.

GetChromeFile ( ) : string

Locates the Chrome executable on the current platform. First looks in the webdriver.chrome.bin property, then searches through the default expected locations.

IsChromeBinaryLocationKnown ( ) : bool

Method Details

IncrementStartWaitInterval() public static method

Increases the wait time
public static IncrementStartWaitInterval ( int diff ) : void
diff int How long to wait
return void

Kill() public method

Kills off the Browser Instance
public Kill ( ) : void
return void

Start() public method

Starts the Chrome process for WebDriver. Assumes the passed directories exist.
When it can't launch will throw an error
public Start ( string serverUrl ) : void
serverUrl string URL from which commands should be requested
return void