public void TestTeardown() { if (TestContext.CurrentContext.Result.Outcome.Status != TestStatus.Passed) { ScreenshotEngine.SaveScreenshot(); DriverService.Quit(); DriverService.Start(); } DriverService.ClearCookies(); }
public void TestTeardown() { if (TestContext.CurrentContext.Result.Outcome.Status != TestStatus.Passed) { ScreenshotEngine.SaveScreenshot(); DriverService.Quit(); DriverService.Start(); } DriverService.ClearCookies(); }