public void TestFixtureSetUp() { if (_browsersTc != null) { _browsersToRun = _browsersTc.Split(',').ToList(); } else { _browsersToRun.Add("Chrome"); _browsersToRun.Add("ChromeNoV0"); _browsersToRun.Add("Firefox"); //_browsersToRun.Add("Edge"); } Uri serverUri = Config.RemoteWebDriverUri; if (TestContext.Parameters["Server"] != null) { serverUri = new Uri(TestContext.Parameters["Server"]); } if (_browsersToRun.Contains(Config.BrowserDictionary[_browser])) { Driver = WebDriverManager.StartDriver(_browser, Config.Timeout, serverUri); } else { Assert.Ignore(Config.BrowserDictionary[_browser] + " is on browsers ignore list"); } }
public void TestFixtureSetUp() { if (_browsersTc != null) { _browsersToRun = _browsersTc.Split(',').ToList(); } else { _browsersToRun.Add("Chrome"); _browsersToRun.Add("Firefox"); //_browsersToRun.Add("Edge"); } if (_browsersToRun.Contains(Config.BrowserDictionary[_browser])) { Driver = WebDriverManager.StartDriver(_browser, Config.Timeout, Config.RemoteWebDriverUri); } else { Assert.Ignore(); } }