rem:  this.locatorFunctions.push(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 locateElementBy* functions    // TODO - don't do this in the constructor - only needed once ever    this.locatorFunctions = new Array();    this.locators = {};    for (var functionName in this) {        var result = /^locateElementBy([A-Z].+)$/.exec(functionName);        if (result != null) {            var locatorFunction = this[functionName];            if (typeof(locatorFunction) != 'function') {                continue;            }            // Use a specified prefix in preference to one generated from the function name            var locatorPrefix = locatorFunction.prefix || result[1].toLowerCase();            this.locatorFunctions.push(locatorFunction);            this.locators[locatorPrefix] = locatorFunction;        }    }};
meta: 3175	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/3175/c4c251f7b8e27dbf5413c4f8cd8bab0e135fb135/selenium-browserbot.js/buggy/code/javascript/selenium-browserbot.js