title: How do I send keyboard keys combination in selenium webdriver (java)?
body: <p>I want to send 1999 to a text box in Selenium  WebDriver (java). The following code is not working when I try to combine the key strokes into a string before sendkeys:</p>
  
  <pre><code>String allKeys = Keys.NUMPAD1 + Keys.NUMPAD9 + Keys.NUMPAD9 + Keys.NUMPAD9; 
  </code></pre>
  
  <p>Am getting this error:</p>
  
  <blockquote>
    <p>The operator + is undefined for the argument type(s)
    org.openqa.selenium.Keys, org.openqa.selenium.Keys</p>
  </blockquote>