public static void WaitForElementToBeClickable(this IWebElement element, int timeout = WaitTime.MiddleWait)
 {
     InitWaitHelper.GetWebDriverWait(timeout).Until(ExpectedConditions.ElementToBeClickable(element));
 }
 public static void WaitForTextIsPresent(this IWebElement element, string text, int timeout = WaitTime.MiddleWait)
 {
     InitWaitHelper.GetWebDriverWait(timeout).Until(ExpectedConditions.TextToBePresentInElement(element, text));
 }
 public static void WaitForElementIsDisplayed(this IWebElement element, int timeout = WaitTime.MiddleWait)
 {
     InitWaitHelper.GetWebDriverWait(timeout).Until((driver) => element.Displayed);
 }