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

            DriverService.ClearCookies();
        }