C# 클래스 OpenQA.Selenium.Firefox.FirefoxExtension

Provides the ability to install extensions into a FirefoxProfile.
파일 보기 프로젝트 열기: asynchrony/Selenium2 1 사용 예제들

공개 메소드들

메소드 설명
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.

비공개 메소드들

메소드 설명
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

메소드 상세

FirefoxExtension() 공개 메소드

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.
리턴 System

Install() 공개 메소드

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