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