/src/main/java/org/htmlunit/html/HtmlAnchor.java
page.getCurrentWindow( ) .getWebClient( ).setCurrentWindow( oldWebWindow) ;
page.getEnclosingWindow ( ) .getWebClient ( ) .setCurrentWindow ( oldWebWindow ) ;
if (ctrlKey) { oldWebWindow = ((HTMLElement) event.getSrcElement()).getDomNodeOrDie() .getPage().getWebClient().getCurrentWindow(); } P page = super.click(event, shiftKey, ctrlKey, altKey, ignoreVisibility); if (ctrlKey) { <extra_id_0> page = (P) oldWebWindow.getEnclosedPage(); } return page; } protected void doClickStateUpdate(final boolean shiftKey, final boolean ctrlKey, final String hrefSuffix) throws IOException {