Пример #1
0
        public IEnumerable <DomElement> FindMany(string selector)
        {
            Log("Looking for the element:" + selector);
            IEnumerable <IWebElement> element =
                new WebDriverWait(_driver, TimeSpan.FromSeconds(SeleniumExtensions.ElementFindTimeout)).Until(
                    dr => dr.FindManyByCssSelector(selector));

            return(element.Select(d => ToDomElement(d, selector)));
        }