public void TearDown() { if (IsUiTest()) { if (_scenarioContext.TestError != null) { var path = WebElementsUtils.MakeScreenshot(_driver); _allureLifecycle.AddAttachment(path); } Logger.Info("WebDriver termination."); _driver.DriverTermination(); } AllureHackForScenarioOutlineTests(); }
public void GivenGoToGmail() { WebElementsUtils.OpenUrl(Configuration.Instance.Url, this.driver.WebDriver); }