public static void WaitElementIsVisible(IWebElement element) { new WebDriverWait(WebDriverUtil.GetWebDriver(), TimeSpan.FromSeconds(WebDriverWaitConstants.TimeOut)) .Until(WaitElementVisible(element)); }
public static void WaitElementIsVisible(By locator) { new WebDriverWait(WebDriverUtil.GetWebDriver(), TimeSpan.FromSeconds(WebDriverWaitConstants.TimeOut)).Until(ExpectedConditions.ElementIsVisible(locator)); }