Beispiel #1
0
        internal string GetHTMLElementTextFromParent(dynamic parentElement, Field field)
        {
            string fieldSelectorValue = field.htmlElement.htmlSelector.selectorValue;
            string fieldSelectorType  = Convert.ToString(field.htmlElement.htmlSelector.selectBy);
            string fieldAttributeType;

            if (field.htmlElement.attributeValue == null)
            {
                fieldAttributeType = Convert.ToString(field.htmlElement.attributeType);
            }
            else
            {
                fieldAttributeType = field.htmlElement.attributeValue;
            }


            return(DomService.GetHTMLElementTextFromParent(parentElement, fieldSelectorValue, fieldSelectorType, fieldAttributeType));
        }