public static void AfterScenario() { if (!TestCompletedWithoutErrors()) { Utilities.SendScreenshotEmail(WebDriver.TakeScreenshot(TestContext.CurrentContext.Test.Name)); } WebDriver.Cleanup(); }
public void Dispose() { WebDriver.Cleanup(); }
public static void AfterScenario() { WebDriver.Cleanup(); }