protected bool WaitForElementDisplayed(By element)
 {
     var clock = new SystemClock();
     var webDriverWait = new WebDriverWait(clock, Driver, new TimeSpan(0, 0, 2), new TimeSpan(0, 0, 1));
     try
     {
         webDriverWait.Until(delegate { return IsDisplayed(element); });
         {
             return true;
         }
     }
     catch (Exception)
     {
         return false;
     }
 }