Пример #1
0
 public bool HasContentMatch(Regex pattern)
 {
     return(Scope != null
         ? pattern.IsMatch(Scope.Text)
         : Watin.ContainsText(pattern));
 }
Пример #2
0
 public bool HasContent(string text)
 {
     return(Scope != null
         ? Scope.Text.Contains(text)
         : Watin.ContainsText(text));
 }