public static void AfterScenario() { if (!TestCompletedWithoutErrors()) { Utilities.SendScreenShotEmail(WebDriver.TakeScreenShot(TestContext.CurrentContext.Test.Name)); } WebDriver.CleanUp(); }
public void ThenRegistrationShouldBeSuccessful() { WebDriver.CleanUp(); }