Interface ICapabilities
Capabilities of the browser that you are going to use
public interface ICapabilities
Properties
BrowserName
Gets the browser name
string BrowserName { get; }
Property Value
IsJavaScriptEnabled
Gets a value indicating whether the browser is JavaScript enabled
bool IsJavaScriptEnabled { get; }
Property Value
Platform
Gets the platform
Platform Platform { get; }
Property Value
Version
Gets the browser version
string Version { get; }
Property Value
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.