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