private HtmlCheckBoxInput getCheckbox(String checkbox) {
   if (checkbox.startsWith("//")) {
     if (logger.isDebugEnabled()) {
       logger.debug("finding checkbox by xpath " + checkbox);
     }
     return form.getFirstByXPath(checkbox);
   } else {
     return form.getInputByNameOrIdOrDie(checkbox);
   }
 }