/src/main/java/org/htmlunit/html/HtmlRadioButtonInput.java
if ( page != null) {
if ( form != null ) {
public Page setChecked(final boolean isChecked) { Page page = getPage(); final boolean changed = isChecked() != isChecked; checkedState_ = isChecked; if (isChecked) { final HtmlForm form = getEnclosingForm(); <extra_id_0> form.setCheckedRadioButton(this); } else if (page != null && page.isHtmlPage()) { setCheckedForPage((HtmlPage) page); } }