rem: } catch (e) { log.warn("findElement error: " + e); 
add: } catch (error) { log.warn("findElement error: " + error + ", node=" + e + ", locator=" + locator); 
context: 	function getLocator(window, e) {		var locatorDetectors = new Array(getIDLocator,										 getVisibleLocator, 										 getVisible2Locator,										 getNameLocator);		var i = 0;		var xpathLevel = 0;		var maxLevel = 10;		var locator;		var pageBot = getPageBot(window);		while (true) {			if (i < locatorDetectors.length) {				locator = locatorDetectors[i].call(this, e);				i++;			} else {				locator = getAbsoluteXPathLocator(e, xpathLevel);				xpathLevel++;			}			log.debug("locator=" + locator);			if (locator != '') {				// test the locator				try {					if (e == pageBot.findElement(locator)) {						return locator;					}				} catch (e) {					log.warn("findElement error: " + e);					//break;				}			} else if (xpathLevel > 0) {				break;			}			if (xpathLevel >= maxLevel) {				break;			}		}		return "LOCATOR_DETECTION_FAILED";	}
meta: 3428	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/3428/987072c9677dabfd007fab08d4c76099ebb26d9e/recorder-events.js/buggy/content/recorder-events.js