public static List <HtmlElement> toList(this HtmlElementCollection htmlElements)
        {
            var list = new List <HtmlElement>();

            if (htmlElements.notNull())
            {
                try
                {
                    foreach (HtmlElement htmlElement in htmlElements)
                    {
                        list.add(htmlElement);
                    }
                }
                catch (Exception ex)
                {
                    ex.log("in List<HtmlElement> toList()");
                }
            }
            return(list);
        }