/// <summary> /// Finds the element. /// </summary> /// <param name="element">The element.</param> /// <param name="tag">The tag.</param> /// <param name="constraint">The constraint.</param> /// <returns></returns> public static ElementContainer <Element> FindElement(this IElementContainer element, string tag, AttributeConstraint constraint) { return(ElementFactory.CreateUntypedElement(element.DomContainer, element.ElementWithTag(tag, constraint).NativeElement)); }