Method isSelected() throws exception in HtmlUnit for H1 elements