C# Класс OpenQA.Selenium.IE.InternetExplorerOptions

Class to manage options specific to InternetExplorerDriver
Наследование: DriverOptions
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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