DesiredCapabilities HasCapability Method WebDriver
Gets a value indicating whether the browser has a given capability.

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

public bool HasCapability(
	string capability
)

Return Value

Returns   if the browser has the capability; otherwise,  .

Implements

ICapabilities HasCapability(String)
See Also