Scrolls the page to the specified element, emulates mouse cursor movement to specified coordinates and clicks.
function ClickElement(aElement: TCSElement; aX: integer = 0; aY: integer = 0; aScrollMethod: TCSScrollMethod = SM_WHEEL): boolean;
LoadURI('google.ru'); TypeIn('test'); var Search:=GetElement('button',0,['name'],['btnG']); ClickElement(Search,0,0,SM_SCROLLBAR);