this.server.respond("getElementAttribute", element.checked); 
this.server.respond(this.location, "getElementAttribute", element.checked); 
FirefoxDriver.prototype.getElementAttribute = function(value) {    var spaceIndex = value.indexOf(" ");    var element = Utils.getElementAt(value.substring(0, spaceIndex));    spaceIndex = value.indexOf(" ", spaceIndex);    var attributeName = value.substring(spaceIndex + 1);    if (element.hasAttribute(attributeName)) {        var response = element.getAttribute(attributeName);        if (attributeName.toLowerCase() == "disabled") {            response = response.toLowerCase() == "disabled" || response.toLowerCase() == "true";        } else if (attributeName.toLowerCase() == "selected") {            response = response.toLowerCase() == "selected" || response.toLowerCase() == "true";        } else if (attributeName.toLowerCase() == "checked") {            response = response.toLowerCase() == "checked" || response.toLowerCase() == "true";        }        this.server.respond("getElementAttribute", response);        return;    }    attributeName = attributeName.toLowerCase();    if (attributeName == "disabled") {        this.server.respond("getElementAttribute", element.disabled);        return;    } else if (attributeName == "checked" && element.tagName.toLowerCase() == "input") {        this.server.respond("getElementAttribute", element.checked);        return;    } else if (attributeName == "selected" && element.tagName.toLowerCase() == "option") {        this.server.respond("getElementAttribute", element.selected);        return;    }    this.server.respond("getElementAttribute", "");}
4983	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/4983/3aa848daac3cf6b346c932bafbb7bfd763430786/wrappedElement.js/clean/firefox/src/extension/content/wrappedElement.js