/// <summary> /// /// </summary> public static bool ContainsData(this WebBrowser wb, ElementText elText, params string[] values) { //if (wb.IsNull()) // throw new ArgumentNullException("wb", "Web Browser is null"); if (values.Length == 0) { return(false); } foreach (string value in values.ToList()) { if (!wb.DocText(elText).ToLower().Contains(value.ToLower())) { return(false); } } return(true); }