C# Class OpenQA.Selenium.Firefox.FirefoxExtension

Provides the ability to install extensions into a FirefoxProfile.
Afficher le fichier Open project: asynchrony/Selenium2 Class Usage Examples

Méthodes publiques

Méthode Description
FirefoxExtension ( string fileName ) : System

Initializes a new instance of the FirefoxExtension class.

WebDriver attempts to resolve the fileName parameter by looking first for the specified file in the directory of the calling assembly, then using the full path to the file, if a full path is provided.

Install ( string profileDir ) : void

Installs the extension into a profile directory.

Private Methods

Méthode Description
FirefoxExtension ( string fileName, string resourceId ) : System

Initializes a new instance of the FirefoxExtension class.

WebDriver attempts to resolve the fileName parameter by looking first for the specified file in the directory of the calling assembly, then using the full path to the file, if a full path is provided. If the file is not found in the file system, WebDriver attempts to locate a resource in the executing assembly with the name specified by the resourceId parameter.

ReadIdFromInstallRdf ( string root ) : string

Method Details

FirefoxExtension() public méthode

Initializes a new instance of the FirefoxExtension class.
WebDriver attempts to resolve the fileName parameter by looking first for the specified file in the directory of the calling assembly, then using the full path to the file, if a full path is provided.
public FirefoxExtension ( string fileName ) : System
fileName string The name of the file containing the Firefox extension.
Résultat System

Install() public méthode

Installs the extension into a profile directory.
public Install ( string profileDir ) : void
profileDir string The Firefox profile directory into which to install the extension.
Résultat void