/src/main/java/org/htmlunit/html/HtmlPage.java
return ( HtmlElement) node; if ( node instanceof HtmlHead) {for ( final DomNode node : doc.getChildren( ) ) {
for ( final DomNode node : doc.getChildren ( ) ) { if ( node instanceof HtmlHead ) { return ( HtmlElement ) node;
} return null; } public HtmlElement getHead() { final DomElement doc = getDocumentElement(); if (doc != null) { <extra_id_0> } } } return null; } @Override