title: How to click device Back button
body: <p>I am not able to click device back button using selenium <code>Webdriver</code> + <code>AndroidDriver</code>
  Below is the code which I am using:</p>
  <pre><code>((AndroidDriver&lt;AndroidElement&gt;) driver).pressKeyCode(AndroidKeyCode.BACK);
  </code></pre>
  <ul>
  <li>gson 2.6.2</li>
  <li>Java client 5.0.1</li>
  <li>Selenium server standalone 3.6.0</li>
  </ul>