public override bool Run()
 {
     try
     {
         DriverScope.FindElement();
         return(true);
     }
     catch (MissingHtmlException)
     {
         return(false);
     }
 }
Exemple #2
0
 public override bool Run()
 {
     return(DriverScope.FindElement().Value == text);
 }
Exemple #3
0
 public override bool Run()
 {
     return(!DriverScope.FindElement().Text.Contains(text));
 }
Exemple #4
0
 public override ElementFound Run()
 {
     return(DriverScope.FindElement());
 }
Exemple #5
0
 public override bool Run()
 {
     return(text.IsMatch(DriverScope.FindElement().Text));
 }