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