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