Provides a means to add additional capabilities not yet added as type safe options
for the Opera driver.
Namespace: OpenQA.Selenium.Opera
Assembly: WebDriver (in WebDriver.dll) Version: 3.1.0
Syntax
public void AddAdditionalCapability( string capabilityName, Object capabilityValue, bool isGlobalCapability )
Parameters
- capabilityName
- Type: SystemString
The name of the capability to add. - capabilityValue
- Type: SystemObject
The value of the capability to add. - isGlobalCapability
- Type: SystemBoolean
Indicates whether the capability is to be set as a global capability for the driver instead of a Opera-specific option.
Exceptions
Exception | Condition |
---|---|
ArgumentException | thrown when attempting to add a capability for which there is already a type safe option, or when capabilityName is or the empty string. |
Remarks
See Also