public void waitUntilTextIsPresent(String text, Long time) throws InterruptedException{
		Long startTime = System.currentTimeMillis();
		boolean verify = true;
		while (verify) {
			try{
				 if (driver.findElement(By.tagName("body")).getText().contains(text) 
						 || driver.findElement(By.tagName("iframe")).getText().contains(text)
						 || time > System.currentTimeMillis() - startTime){
					 verify = false;
				 }
			}catch(NoSuchElementException ne){
				continue;
			}
			Thread.sleep(500);
			
		}

	}