DesiredCapabilities Constructor (String, String, Platform)WebDriver
Initializes a new instance of the DesiredCapabilities class

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

public DesiredCapabilities(
	string browser,
	string version,
	Platform platform
)

Parameters

browser
Type: SystemString
Name of the browser e.g. firefox, internet explorer, safari
version
Type: SystemString
Version of the browser
platform
Type: OpenQA.SeleniumPlatform
The platform it works on
See Also

Reference