public static void AfterWebScenario() { Alerts.AlertDismissAll(SeleniumSupport.driverCache); if (SeleniumSupport.ReuseWebSession) { SeleniumSupport.StopSelenium(); } Assert.AreEqual("", ScenarioContext.Current.SeleniumErrors().ToString(), "Selenium verification errors"); }