C# Class OpenQA.Selenium.IE.InternetExplorerOptions

Class to manage options specific to InternetExplorerDriver
Inheritance: DriverOptions
Show file Open project: krosenvold/selenium-git-release-candidate Class Usage Examples

Public Methods

Method Description
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.

Method Details

AddAdditionalCapability() public method

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.
return void

ToCapabilities() public method

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
return ICapabilities