public static void ScreenBusy(IWebDriver driver) { try { var wait = new WebDriverWait(driver, TimeSpan.FromSeconds(Int16.Parse(Parameter.Get <string>("ScreenTimeOut")))); wait.Until(ExpectedConditions.InvisibilityOfElementLocated(By.XPath(Parameter.Get <string>("ScreenBusy")))); } catch { } }
public void ScreenBusy(int timeout = 120) { Sleep(200); Wait(ExpectedConditions.InvisibilityOfElementLocated(By.XPath(Parameter.Get <string>("ScreenBusy"))), timeout); }
public static void waitFirElemToInvisible(By elem) { wait.Until(ExpectedConditions.InvisibilityOfElementLocated(elem)); }
public void WaitForElementToDisappear() { Wait.Until(ExpectedConditions.InvisibilityOfElementLocated(ByLocator)); }