Removes the child elements of the specified element corresponding to the specified tag.
procedure RemoveElementChildren(aElement: TCSElement; aTagName: string = '');
//loading the page google.ru with request LoadURI('https://www.google.ru/#newwindow=1&q=test+request'); //Get the first element h3 var element:=GetElement('h3', 0); //Remove the child links RemoveElementChildren(element,'a');