I am learning Java Maven Selenium. I want something like this in Selenium using implicitlyWait.
implicitlyWait
If a web element is not displaying and you want to wait for that element to be displayed then following code will work.
while(true) { boolean flag = driver.findElement(By.id("id_name")).isDisplayed(); if(flag) break; }