public void setImplicitlyWait(int implicitWait) {
        try {
            driver().manage().timeouts().implicitlyWait(implicitWait, TimeUnit.MILLISECONDS);
        } catch (Exception e) {
            // https://code.google.com/p/selenium/issues/detail?id=6015
            System.err.println("Unable to set implicit timeout (known issue for Safari): " + e.getMessage());
        }
    }
public void setImplicitlyWait ( int implicitWait ) { try { driver ( ) . manage ( ) . timeouts ( ) . implicitlyWait ( implicitWait , TimeUnit . MILLISECONDS ) ; } catch ( Exception e ) { System . err . println ( "Unable to set implicit timeout (known issue for Safari): " + e . getMessage ( ) ) ; } }
Sets how long to wait before deciding an element does not exists.
@param implicitWait time in milliseconds to wait.