selenium wait until element code example Example: selenium wait seconds driver.manage().timeouts().implicitlyWait(10, TimeUnit.SECONDS);