EdgeOptionsAddAdditionalCapability Method WebDriver
Provides a means to add additional capabilities not yet added as type safe options for the Edge driver.

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

public override void AddAdditionalCapability(
	string capabilityName,
	Object capabilityValue
)

Parameters

capabilityName
Type: SystemString
The name of the capability to add.
capabilityValue
Type: SystemObject
The value of the capability to add.
Exceptions

ExceptionCondition
ArgumentException thrown when attempting to add a capability for which there is already a type safe option, or when capabilityName is or the empty string.
Remarks

Calling AddAdditionalCapability(String, Object) where capabilityName has already been added will overwrite the existing value with the new value in capabilityValue
See Also

Reference