public PayPalLoginPassword(IWebDriver driver)
        {
            WaitUtils.WaitToDisappear(driver, By.ClassName("spinnerWithLockIcon"), 60);
            WaitUtils.WaitId(driver, "password", 30);
            Thread.Sleep(1000);  // hack for unattached element issue

            elements = new PageElements(driver, locators);
        }
Beispiel #2
0
        protected override void WaitForPage()
        {
            var loc = By.CssSelector(".overlay");

            if (Driver.FindElements(loc).Count() > 0)
            {
                WaitUtils.WaitToDisappear(Driver, loc, 15);
            }
        }
 protected override void WaitForPage()
 {
     WaitUtils.WaitToDisappear(Driver, By.ClassName("spinnerWithLockIcon"), 60);
     WaitUtils.WaitId(Driver, "email", 30);
     Thread.Sleep(1000);  // hack for unattached element issue
 }
Beispiel #4
0
 public PopupAddGtinToContainer WaitSpinner()
 {
     WaitUtils.WaitToDisappear(Driver, Locators["Spinner"], 10);
     return(this);
 }