C# Class OpenQA.Selenium.Firefox.Internal.Executable

Represents the executable file for Firefox.
ファイルを表示 Open project: asynchrony/Selenium2 Class Usage Examples

Public Methods

Method Description
Executable ( string userSpecifiedBinaryPath ) : System

Initializes a new instance of the Executable class.

Private Methods

Method Description
FindBinary ( string binaryNames ) : string

Walk a PATH to locate binaries with a specified name. Binaries will be searched for in the order they are provided.

GetEnvironmentVariable ( string name, string defaultValue ) : string

Retrieves an environment variable

GetExecutablePathUsingRegistry ( RegistryKey mozillaKey ) : string
GetLibraryPathPropertyName ( ) : string

Retrieves the platform specific environment property name which contains the library path.

LocateFirefoxBinaryFromPlatform ( ) : string
SetLibraryPath ( Process builder ) : void

Method Details

Executable() public method

Initializes a new instance of the Executable class.
public Executable ( string userSpecifiedBinaryPath ) : System
userSpecifiedBinaryPath string The path and file name to the Firefox executable.
return System