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