public void ExecuteClick(IOperationSymbolContainer symbolContainer, bool consumeConfirmation = false, bool shouldDisapear = false) { var lites = ResultTable.SelectedEntities(); Operation(symbolContainer).WaitVisible().Click(); if (consumeConfirmation) { this.ResultTable.Selenium.ConsumeAlert(); } if (shouldDisapear) { ResultTable.WaitNoVisible(lites); } else { ResultTable.WaitSuccess(lites); } }
public void ExecuteClick <T>(ExecuteSymbol <T> executeSymbol, bool consumeConfirmation = false, bool shouldDisapear = false) where T : Entity { var lites = ResultTable.SelectedEntities(); Operation(executeSymbol).WaitVisible().Click(); if (consumeConfirmation) { this.ResultTable.Selenium.ConsumeAlert(); } if (shouldDisapear) { ResultTable.WaitNoVisible(lites); } else { ResultTable.WaitSuccess(lites); } }