public static IElementContainer Submit(this IElementContainer container, Constraint findBy) { var element = container.Button(findBy); if (element.EnsureClick()) { element.TryWaitUntilEnabled(); } return(container); }