public static bool IsButtonPresent(this IUIContext context, string buttonId)
 {
     return(Convention.InvokeOverridden(context, () =>
     {
         var elementSelector = context.GetElementSelector(ContextElement.Button, buttonId);
         return Browser.IsElementPresent(elementSelector);
     }, buttonId));
 }
Exemple #2
0
 public static List <string> GetDropdownOptions(this IUIContext context, string fieldId)
 {
     return(Convention.InvokeOverridden(context, () =>
     {
         var elementSelector = context.GetElementSelector(ContextElement.Field, fieldId);
         return Browser.GetDropdownOptions(elementSelector);
     }, fieldId));
 }
Exemple #3
0
 public static bool IsFieldPresent(this IUIContext context, string fieldId)
 {
     return(Convention.InvokeOverridden(context, () =>
     {
         var elementSelector = context.GetElementSelector(ContextElement.Field, fieldId);
         return Browser.IsElementPresent(elementSelector);
     }, fieldId));
 }