title: Simulate Enter key after typing URL
body: <p>I need to know how to simulate the Enter key press after typing in a URL in a mobile web browser using sendKeys().I tried </p>
  
  <pre><code>    driver.sendKeys("http://www.google.com\n"); 
  </code></pre>
  
  <p>which did not work and</p>
  
  <pre><code>    driver.sendKeys(Keys.ENTER);
  </code></pre>
  
  <p>just clears the whole url box.</p>
  
  <p>So it would be helpful to know.
  BTW i am using Appium server for the automation.</p>