code: function(method, tag, root) {
              return Y.Dom.getElementsBy(method, tag, root, null, null, null, true); 
          }
docs: Returns the first HTMLElement that passes the test applied by the supplied boolean method.
  @method getElementBy
  @param {Function} method - A boolean method for testing elements which receives the element as its only argument.
  @param {String} tag (optional) The tag name of the elements being collected
  @param {String | HTMLElement} root (optional) The HTMLElement or an ID to use as the starting point
  @return {HTMLElement}