FirefoxOptionsToCapabilities Method WebDriver
Returns DesiredCapabilities for Firefox with these options included as capabilities. This does not copy the options. Further changes will be reflected in the returned capabilities.

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

public override ICapabilities ToCapabilities()

Return Value

Type: ICapabilities
The DesiredCapabilities for Firefox with these options.
See Also

Reference