//Loading page google.ru
loadURI('google.ru');
//Obtain element (request input field)
var element = getElement('input',0,['class','id'],['gbqfif','gbqfq'],true);
//Obtain the coordinates of the element rectangle
var rect = getElementRect(element);
log(JSON.stringify(rect));