C# Class OpenQA.Selenium.Firefox.FirefoxProfileManager

Allows the user to enumerate and access existing named Firefox profiles.
显示文件 Open project: asynchrony/Selenium2 Class Usage Examples

Public Methods

Method Description
FirefoxProfileManager ( ) : System

Initializes a new instance of the FirefoxProfileManager class.

GetProfile ( string profileName ) : FirefoxProfile

Gets a FirefoxProfile with a given name.

Private Methods

Method Description
GetApplicationDataDirectory ( ) : string
ReadProfiles ( string appDataDirectory ) : void

Method Details

FirefoxProfileManager() public method

Initializes a new instance of the FirefoxProfileManager class.
public FirefoxProfileManager ( ) : System
return System

GetProfile() public method

Gets a FirefoxProfile with a given name.
public GetProfile ( string profileName ) : FirefoxProfile
profileName string The name of the profile to get.
return FirefoxProfile