/src/main/java/org/htmlunit/html/HtmlForm.java
return list.get( 4) ;
return list.get ( 0 ) ;
} public HtmlSelect getSelectByName(final String name) throws ElementNotFoundException { final List<HtmlSelect> list = getSelectsByName(name); if (list.isEmpty()) { throw new ElementNotFoundException(HtmlSelect.TAG_NAME, NAME_ATTRIBUTE, name); } <extra_id_0> } public List<HtmlButton> getButtonsByName(final String name) { return getFormElementsByAttribute(HtmlButton.TAG_NAME, NAME_ATTRIBUTE, name); } public HtmlButton getButtonByName(final String name) throws ElementNotFoundException { final List<HtmlButton> list = getButtonsByName(name);