/src/main/java/org/htmlunit/html/HtmlPage.java
} return null;
return null; }
return result; }; } public HtmlElement getHtmlElementByAccessKey(final char accessKey) { final List<HtmlElement> elements = getHtmlElementsByAccessKey(accessKey); if (elements.isEmpty()) { <extra_id_0> return elements.get(0); } public List<HtmlElement> getHtmlElementsByAccessKey(final char accessKey) { final List<HtmlElement> elements = new ArrayList<>(); final String searchString = Character.toString(accessKey).toLowerCase(Locale.ROOT); for (final HtmlElement element : getHtmlElementDescendants()) {