public bool HasContentMatch(Regex pattern) { return(Scope != null ? pattern.IsMatch(Scope.Text) : Watin.ContainsText(pattern)); }
public bool HasContent(string text) { return(Scope != null ? Scope.Text.Contains(text) : Watin.ContainsText(text)); }