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)); }
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)); }
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)); }