Exemplo n.º 1
0
        public override IList <IElementUnderTest> FindChildren(string locator)
        {
            var elements = _remoteDriver.FindElements(SeleniumWebElementWrapper.CreateLocator(locator));
            var list     = new List <IElementUnderTest>();

            foreach (var item in elements)
            {
                list.Add(new SeleniumWebElementWrapper(item));
            }
            return(list);
        }
Exemplo n.º 2
0
 public override IElementUnderTest FindChild(string locator)
 {
     return(new SeleniumWebElementWrapper(_remoteDriver.FindElement(SeleniumWebElementWrapper.CreateLocator(locator))));
 }