*/
		//This function is use for when you are on the line waiting for a product. 
		
		public static boolean isObjPresent(String xPathKey, int maxTime){
			
			boolean flag = false;
			
			for(int i=0; i<maxTime; i++) {
				
				try{
					Thread.sleep(1000);
					if(isElementPresent(xPathKey)){
						
						flag = true;
						
					}else{
						
						if(i<=maxTime){
							
							continue;
						}
						
					}
				
				}catch(Exception e){
				
					continue;
				}
			}
			
			return flag;
		}