code: function getElementsByTagName(element, name) {
    return Array.from(genericMethodCall(
        Methods.GET_ELEMENTS_BY_TAG_NAME, element, 'getElementsByTagName',
        [name]));
  }
docs: Get the children of a specific tag matching the provided tag name without
  falling prey to things like <form><input name="getElementsByTagName"></form>.
  Equivalent to {@code element.getElementsByTagName("foo")}.
  @param {!Element} element
  @param {string} name
  @return {!Array<!Element>}