DesiredCapabilities GetCapability Method WebDriver
Gets a capability of the browser.

Namespace: OpenQA.Selenium.Remote
Assembly: WebDriver (in WebDriver.dll) Version: 2.35.0.0 (2.35.0.0)
Syntax

public Object GetCapability(
	string capability
)

Return Value

An object associated with the capability, or   if the capability is not set on the browser.

Implements

ICapabilities GetCapability(String)
See Also