code: 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());
          }
      }
docs: Sets how long to wait before deciding an element does not exists.
  @param implicitWait time in milliseconds to wait.