public void ClickOnTopSaveButton()
 {
     if (TopSaveButton.Displayed)
     {
         TopSaveButton.Click();
     }
     else
     {
         Exception e;
     }
 }
Example #2
0
 public void ClickOnTopSaveButton()
 {
     if (TopSaveButton.Displayed)
     {
         TopSaveButton.Click();
     }
     else
     {
         throw new Exception("Element is not found or not clickable");
     }
 }