public void ThenThePageIsDisplayed(string pageName) { try { _navigationObject.IsThePageDisplayed(pageName); } catch (Exception e) { Assert.Fail($"Step 'the {pageName} page is displayed' failed! {e.Message}"); } }