Sets the specified attribute of the specified element to the specified value.
procedure SetElementAttribute(aElement: TCSElement; aAttribute: string; aValue: string);
//Loading page google.ru LoadURI('google.ru'); //Get an element (request input field) var element:=GetElement('input',0,['class','id'],['gbqfif','gbqfq'],true); //Set the value of the attribute "name" equal to "MyName" SetElementAttribute(element,'name','MyName');