Пример #1
0
        public static IWebElement waitElementIsPresentById(String id)
        {
            (
                new WebDriverWait(driver, TimeSpan.FromSeconds(30))).Until(ExpectedConditions.PresenceOfAllElementsLocatedBy(By.Id(id)));
            IWebElement element = driver.FindElement(By.Id(id));

            return(element);
        }