DesiredCapabilitiesSetCapability Method WebDriver
Sets a capability of the browser.

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

public void SetCapability(
	string capability,
	Object capabilityValue
)

Parameters

capability
Type: SystemString
The capability to get.
capabilityValue
Type: SystemObject
The value for the capability.
See Also

Reference