public void EdgeW3C() { var options = new EdgeOptions { BrowserVersion = "latest", PlatformName = "Windows 10" //AcceptInsecureCertificates = true //Insecure Certs are Not supported by Edge }; sauceOptions.Add("name", MethodBase.GetCurrentMethod().Name); options.AddAdditionalOption("sauce:options", sauceOptions); _driver = new RemoteWebDriver(new Uri("https://ondemand.saucelabs.com/wd/hub"), options.ToCapabilities(), TimeSpan.FromSeconds(30)); GoToThenAssert(); }
public void EdgeChromiumW3C() { var browserOptions = new EdgeOptions() { BrowserVersion = "latest", PlatformName = "macOS 10.14" }; sauceOptions.Add("name", MethodBase.GetCurrentMethod().Name); browserOptions.AddAdditionalOption("sauce:options", sauceOptions); _driver = new RemoteWebDriver(new Uri("https://ondemand.saucelabs.com/wd/hub"), browserOptions.ToCapabilities(), TimeSpan.FromSeconds(30)); _driver.Navigate().GoToUrl("https://www.saucedemo.com"); GoToThenAssert(); }