TestProject Forum

Add Additional capability doesnt work for Edge

0

No overload for method ‘AddAdditionalCapability’ takes 3 argument

case BrowserType.Edge: EdgeOptions edgeOptions = new EdgeOptions(); edgeOptions.AddAdditionalCapability(“cloud:URL”, “https://someone_jPLy2u:RaH4Q6U4zkmZYdn7qspW@hub-cloud.browserstack.com/wd/hub”, true); edgeOptions.AddAdditionalCapability(“os”, “Windows”, true); edgeOptions.AddAdditionalCapability(“os_version”, “10”, true); edgeOptions.AddAdditionalCapability(“browser_version”, browserVersion, true); this.webDriver = new EdgeDriver(edgeOptions: edgeOptions, token: “something”); this.reporter = ((EdgeDriver)webDriver).Report(); this.reporter.DisableCommandReports(DriverCommandsFilter.Passing)

This works for the rest of the browsers except for edge