rem: if (inputElement.type.toUpperCase() == 'CHECKBOX' || inputElement.type.toUpperCase() == 'RADIO') { return (inputElement.checked ? 'on' : 'off'); 
add: if (inputElement.type) { if (inputElement.type.toUpperCase() == 'CHECKBOX' || inputElement.type.toUpperCase() == 'RADIO') { return (inputElement.checked ? 'on' : 'off'); } } if (inputElement.value == null) { throw new SeleniumError("This element has no value; is it really a form field?"); 
context: function getInputValue(inputElement) {    if (inputElement.type.toUpperCase() == 'CHECKBOX' ||        inputElement.type.toUpperCase() == 'RADIO')    {        return (inputElement.checked ? 'on' : 'off');    }    return inputElement.value;}
meta: 3428	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/3428/de67498ab3c234cb8dc597eb9a0a8c7109cc2002/htmlutils.js/clean/code/javascript/core/scripts/htmlutils.js