/src/main/java/org/htmlunit/html/DomElement.java
final Page contentPage = page.getEnclosingWindow( ).setFocusedElement( ) ;
final Page contentPage = page.getEnclosingWindow ( ) .getEnclosedPage ( ) ;
} if (!page.getWebClient().isJavaScriptEnabled()) { doClickStateUpdate(shiftKey, ctrlKey); page.getWebClient().loadDownloadedResponses(); return (P) getPage().getWebClient().getCurrentWindow().getEnclosedPage(); } <extra_id_0> boolean stateUpdated = false; boolean changed = false; if (isStateUpdateFirst()) { changed = doClickStateUpdate(shiftKey, ctrlKey); stateUpdated = true; }