Implement your own wait without using selenium waits Condition: Wait for a maximum of 30sec, however check on the elements presence would be made in every 2 seconds code example
Example: how to waitselenium webelement java
WebDriver driver = new ChromeDriver();
WebDriverWait wait = new WebDriverWait(driver, 15);
wait.until(ExpectedConditions.elementToBeClickable(By.id("button1")));
wait.until(ExpectedConditions.visibilityOfElementLocated(By.id("text_box1")));
wait.until(ExpectedConditions.invisibilityOfElementLocated(By.id("text_box1")));
driver.manage().timeouts().implicitlyWait(10, TimeUnit.SECONDS);