C# 클래스 OpenQA.Selenium.IE.InternetExplorerOptions

Class to manage options specific to InternetExplorerDriver
상속: DriverOptions
파일 보기 프로젝트 열기: krosenvold/selenium-git-release-candidate 1 사용 예제들

공개 메소드들

메소드 설명
AddAdditionalCapability ( string capabilityName, object capabilityValue ) : void

Provides a means to add additional capabilities not yet added as type safe options for the Internet Explorer driver.

Calling AddAdditionalCapability where capabilityName has already been added will overwrite the existing value with the new value in capabilityValue

ToCapabilities ( ) : ICapabilities

Returns DesiredCapabilities for IE with these options included as capabilities. This copies the options. Further changes will not be reflected in the returned capabilities.

메소드 상세

AddAdditionalCapability() 공개 메소드

Provides a means to add additional capabilities not yet added as type safe options for the Internet Explorer driver.
Calling AddAdditionalCapability where capabilityName has already been added will overwrite the existing value with the new value in capabilityValue
/// thrown when attempting to add a capability for which there is already a type safe option, or /// when is or the empty string. ///
public AddAdditionalCapability ( string capabilityName, object capabilityValue ) : void
capabilityName string The name of the capability to add.
capabilityValue object The value of the capability to add.
리턴 void

ToCapabilities() 공개 메소드

Returns DesiredCapabilities for IE with these options included as capabilities. This copies the options. Further changes will not be reflected in the returned capabilities.
public ToCapabilities ( ) : ICapabilities
리턴 ICapabilities