rem: this.server.respond("getElementAttribute", ""); 
add: this.server.respond(this.location, "getElementAttribute", ""); 
context: 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", "");}
meta: 3428	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/3428/3aa848daac3cf6b346c932bafbb7bfd763430786/wrappedElement.js/clean/firefox/src/extension/content/wrappedElement.js