title: Swipe and Hide comments missing in appium
body: <p>I am new to appium.I would like to use <code>driver.hideKeyboard()</code> and <code>drive.swipe()</code> comments in appium.However when I try to use these comments in eclipse,it is thorowing error as </p>
  
  <blockquote>
    <p>The method swipe() is undefined for the type WebDriver</p>
  </blockquote>
  
  <p>Hide also I am getting same error.I think I need to import something in the drive.Could you please guide me what I need to do?</p>
  
  <pre><code>public void Appium() throws MalformedURLException
  {
      DesiredCapabilities capabilities = new DesiredCapabilities();
      capabilities.setCapability("device", "Android");
      capabilities.setCapability(CapabilityType.BROWSER_NAME, "Chrome");
      capabilities.setCapability(CapabilityType.VERSION, "5.1.1");
      capabilities.setCapability("platformName", "Android");
      driver = new RemoteWebDriver(new URL("http://127.0.0.1:4723/wd/hub"), capabilities);
  }
  </code></pre>