ICapabilities GetCapability Method WebDriver
Gets a capability of the browser.

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

Object GetCapability(
	string capability
)

Return Value

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