how to set up waits in java code example Example: selenium wait seconds driver.manage().timeouts().implicitlyWait(10, TimeUnit.SECONDS);