public static void SingleTestTearDown() { if (TestContext.CurrentContext.Result.Outcome != ResultState.Success) { MyScreenshot.MakePhoto(driver); } }
public static void SingleTestTearDown() { if (TestContext.CurrentContext.Result.Outcome != ResultState.Success) { // cia mes padarysime screenshota MyScreenshot.MakePhoto(_driver); } }