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); }
public override IElementUnderTest FindChild(string locator) { return(new SeleniumWebElementWrapper(_remoteDriver.FindElement(SeleniumWebElementWrapper.CreateLocator(locator)))); }