public void schoolDelete() { SeleniumHelper.Get(SimsBy.AutomationId("delete_button")).ClickByJS(); var confirmDeleteDialog = new DeleteConfirmationDialog(); confirmDeleteDialog.ConfirmDelete(); }
public void Delete() { if (_deleteButton.IsExist()) { Retry.Do(_deleteButton.ClickByJS); Wait.WaitForAjaxReady(By.CssSelector(".locking-mask")); var deleteDialog = new DeleteConfirmationDialog(); deleteDialog.ConfirmDelete(); } }
public void Delete() { if (_deleteButton.IsExist()) { _deleteButton.ClickByJS(); Wait.WaitForAjaxReady(By.CssSelector(".locking-mask-loading")); var confirmDialog = new DeleteConfirmationDialog(); confirmDialog.ConfirmDelete(); } }
public void Delete() { try { if (_deleteButton.IsExist()) { _deleteButton.Click(); Wait.WaitForAjaxReady(By.CssSelector(".locking-mask")); var confirmDeleteDialog = new DeleteConfirmationDialog(); confirmDeleteDialog.ConfirmDelete(); } } catch (Exception) { } }