add:  var locatorPrefix = locatorFunction.prefix || result[1].toLowerCase();  this.locatorFunctions.push(locatorFunction); this.locators[locatorPrefix] = locatorFunction; 
context: PageBot = function(pageWindow) {    if (pageWindow) {        this.currentWindow = pageWindow;        this.currentDocument = pageWindow.document;        this.location = pageWindow.location.pathname;        this.title = function() {return this.currentDocument.title;};        // Register all locate* functions        this.locatorFunctions = new Array();        for (var f in this) {            if (typeof(this[f]) == 'function' && f.match(/^locate/)) {                this.locatorFunctions.push(this[f]);            }        }    }};
meta: 4983	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4983/282b7aeb99ad005ea5dbd64f74b3b3890e58c578/selenium-browserbot.js/buggy/code/javascript/selenium-browserbot.js