public void ClickOnGoToReportsLink() { if (GoToReports.Displayed) { GoToReports.Click(); } else { throw new Exception("Element is not found or not clickable"); } }
public void ClickOnGoToReports() { if (GoToReports.Displayed) { GoToReports.Click(); } else { Exception e; } }