//Loading page google.ru
loadURI('google.ru');
//Get the element (request input field)
var element = getElement('input',0,['class','id'],['gbqfif','gbqfq'],true);
//Get the value of the attribute "name" of element
var nm = getElementAttribute(element,'name');