Ejemplo n.º 1
0
 public static void ExecuteSubmit <T>(this NormalPage <T> container, ExecuteSymbol <T> symbol, bool consumeAlert = false)
     where T : Entity
 {
     container.OperationClick(symbol);
     if (consumeAlert)
     {
         container.Selenium.ConsumeAlert();
     }
     container.WaitLoadedAndId();
 }
Ejemplo n.º 2
0
        public static SearchPageProxy DeleteSubmit <T>(this NormalPage <T> container, DeleteSymbol <T> symbol, bool consumeAlert = true)
            where T : Entity
        {
            container.OperationClick(symbol);
            if (consumeAlert)
            {
                container.Selenium.ConsumeAlert();
            }

            return(new SearchPageProxy(container.Selenium).WaitLoaded());
        }