Beispiel #1
0
 public void Delete()
 {
     if (_deleteButton.IsExist())
     {
         _deleteButton.ClickByJS();
         Wait.WaitForAjaxReady(By.CssSelector(".locking-mask"));
         var deleteConfirmationPage = new WarningConfirmationDialog();
         deleteConfirmationPage.ConfirmDelete();
     }
 }
Beispiel #2
0
        public void ContinueDelete()
        {
            WarningConfirmationDialog warningDialog = null;

            try
            {
                warningDialog = new WarningConfirmationDialog();
            }
            catch (Exception)
            {
                warningDialog = null;
            }

            if (warningDialog != null)
            {
                warningDialog.ConfirmDelete();
            }
        }