public static bool ButtonDisabled(this IEntityButtonContainer container, string idButton) { By locator = container.ButtonLocator(idButton); return(container.Selenium.IsElementPresent(locator.CombineCss("[disabled]"))); }
public static void ButtonClick(this IEntityButtonContainer container, string idButton) { var button = container.Selenium.FindElement(container.ButtonLocator(idButton)); button.ButtonClick(); }
public static By OperationLocator <T>(this IEntityButtonContainer <T> container, IEntityOperationSymbolContainer <T> symbol) where T : Entity { return(container.ButtonLocator(symbol.Symbol.KeyWeb())); }