Beispiel #1
0
 public virtual bool OnPage()
 {
     if (WaitForPageToLoad())
     {
         if (_pageLoadCompleteIndicatorLocator != null)
         {
             return(WebDriverExtensions.IsDisplayed(Driver.FindElement(_pageLoadCompleteIndicatorLocator)));
         }
         else
         {
             return(true);
         }
     }
     else
     {
         return(false);
     }
 }