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