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 { }
 }
Пример #2
0
 public void ScreenBusy(int timeout = 120)
 {
     Sleep(200);
     Wait(ExpectedConditions.InvisibilityOfElementLocated(By.XPath(Parameter.Get <string>("ScreenBusy"))), timeout);
 }
Пример #3
0
 public static void waitFirElemToInvisible(By elem)
 {
     wait.Until(ExpectedConditions.InvisibilityOfElementLocated(elem));
 }
Пример #4
0
 public void WaitForElementToDisappear()
 {
     Wait.Until(ExpectedConditions.InvisibilityOfElementLocated(ByLocator));
 }