@SuppressWarnings("unchecked")
public final <I extends HtmlInput> I getInputByName(final String name) throws ElementNotFoundException {
final List<HtmlInput> inputs = getInputsByName(name);
if (inputs.isEmpty()) {
throw new ElementNotFoundException("input", "name", name);
}
return (I) inputs.get(0);
}