Interface ICapabilities
Capabilities of the browser that you are going to use
public interface ICapabilities
Properties
this[string]
Gets the capability value with the specified name.
object this[string capabilityName] { get; }
Parameters
capabilityName
stringThe name of the capability to get.
Property Value
- object
The value of the capability.
Exceptions
- ArgumentException
The specified capability name is not in the set of capabilities.
Methods
GetCapability(string)
Gets a capability of the browser.
object? GetCapability(string capability)
Parameters
capability
stringThe capability to get.
Returns
- object
An object associated with the capability, or null if the capability is not set on the browser.
HasCapability(string)
Gets a value indicating whether the browser has a given capability.
bool HasCapability(string capability)
Parameters
capability
stringThe capability to get.