internal string GetHTMLElementText(Element element) { string selectorValue = element.htmlSelector.selectorValue; string selectorType = Convert.ToString(element.htmlSelector.selectBy); return(DomService.GetHTMLElementText(selectorValue, selectorType)); }