/src/main/java/org/htmlunit/html/HtmlElement.java
final HtmlPage page = ( HtmlPage ) getPage ( ) ;
private Page type(final int keyCode, final boolean fireKeyDown, final boolean fireKeyPress, final boolean fireKeyUp, final boolean lastType) { if (isDisabledElementAndDisabled()) { return getPage(); } <extra_id_0> if (page.getFocusedElement() != this) { focus(); } final Event keyDown; final ScriptResult keyDownResult; if (fireKeyDown) {