public List <UIElement> Css(string css) { var elements = _parentElement.FindAllCss(css); List <UIElement> UIElements = new List <UIElement>(); foreach (var element in elements) { UIElements.Add(new UIElement(element)); } return(UIElements); }