private By decrementLocator(By locator){
		for (Field field : locator.getClass().getDeclaredFields()) {
	        	field.setAccessible(true);
				try {
	        		String strLocator = (String)field.get(locator);
					field.set(locator,strLocator.substring(0, strLocator.length()-1));
					} catch (IllegalArgumentException e) {
						warn(e.getMessage());
					} catch (IllegalAccessException e) {
						warn(e.getMessage());
					}
	    }
		return locator;
	}