title: Robot keys not working when using it after implicit wait
body: <p>Robot keys not working when using it after implicit wait. If I use thread.sleep instead of implicit sleep the same code working fine. But it is not best practice to use thread.sleep. So give me a solution for this problem.</p>
  
  <pre><code>searchbox.sendKeys(sFirstName);
  driver.manage().timeouts().implicitlyWait(2, TimeUnit.SECONDS);
  Utils.keyEnter();
  </code></pre>
  
  <p>The code in Utils package is:</p>
  
  <pre><code>public static void keyEnter() throws Exception
  {
      Robot r = new Robot();
      r.keyPress(KeyEvent.VK_ENTER);
      r.keyRelease(KeyEvent.VK_ENTER);
  }
  </code></pre>