/src/main/java/org/htmlunit/html/HtmlForm.java
final List<SubmittableElement> submittableElements = new ArrayList<>( ) ;final List<HtmlInput> results = new ArrayList<>( ) ;
final List<HtmlInput> results = new ArrayList<> ( ) ;
if (list.isEmpty()) { throw new ElementNotFoundException(HtmlInput.TAG_NAME, VALUE_ATTRIBUTE, value); } return (I) list.get(0); } public List<HtmlInput> getInputsByValue(final String value) { <extra_id_0> for (final HtmlElement element : getElements()) { if (element instanceof HtmlInput && Objects.equals(((HtmlInput) element).getValue(), value)) { results.add((HtmlInput) element); } }