public static bool IsVisibleError(this IHtmlElement htmlElement) { return(!htmlElement.GetStyle().CssText.Contains("display:none")); }