Beispiel #1
0
        public static NgWebElement WaitForElementToAppear(this NgWebElement element, int timeoutInSeconds = 9)
        {
            int retryCount = 0;

            while (!element.ElementIsVisible())
            {
                if (RetryTimeout(retryCount, timeoutInSeconds))
                {
                    retryCount++;
                }
                else
                {
                    break;
                }
            }
            return(element);
        }