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