title: How to Scroll down to click a particular element using Appium as scrollTo is not working
body: <p>I'm trying to scroll down and click on some element in setting, but as scrollTo is not working I'm not able to proceed</p>
  
  <pre><code>package Test1;
  import io.appium.java_client.AppiumDriver;
  import io.appium.java_client.TouchAction;
  import io.appium.java_client.android.AndroidDriver;
  import net.sourceforge.htmlunit.corejs.javascript.ScriptableObject;
  
  import org.junit.After;
  import org.junit.Before;
  import org.openqa.selenium.By;
  
  import org.openqa.selenium.Dimension;
  import org.openqa.selenium.Point;
  import org.openqa.selenium.WebElement;
  import org.openqa.selenium.remote.DesiredCapabilities;
  import org.testng.annotations.BeforeMethod;
  import org.testng.annotations.Test;
  
  import java.io.File;
  import java.net.URL;
  public class MobileFindJavaTest {
  private AppiumDriver&lt;WebElement&gt; driver;
  
  @BeforeMethod
   @Test
  public void setUp() throws Exception {
  File classpathRoot = new File(System.getProperty("user.dir"));
  File appDir = new File(classpathRoot, "/Apps/slide/");
  File app = new File(appDir, "ApiDemos-debug.apk");
  
  DesiredCapabilities capabilities = new DesiredCapabilities();
  capabilities.setCapability("deviceName","BECUPJTWGA7HAQQK");
  capabilities.setCapability("platformVersion", "5");
  
  capabilities.setCapability("appPackage", "com.android.settings");
  capabilities.setCapability("appActivity", ".Settings");
  driver = new AndroidDriver&lt;&gt;(new URL("http://127.0.0.1:4723/wd/hub"), c         Capabilities);
  
  
      //driver.scrollTo("Views");
      TouchAction touchAction4 = new TouchAction(driver);
      touchAction4.press(30,40).moveTo(89,51).release();
      driver.performTouchAction(touchAction4);
      System.out.println("gaurav");
      driver.findElementByName("Feature").click();
  
  }
  
  }
  </code></pre>
  
  <p>driver.scrollTo is showing not supported , now how to scroll down and click because the element which i want to click is not there on the screen , we need to scroll for it</p>
  
  <pre><code>MobileElement radioGroup = (MobileElement) wd
  
              .findElementByAndroidUIAutomator("new UiScrollable(new UiSelector()"
  
              + ".resourceId(\"com.android.settings:id/title\")).scrollIntoView("
  
              + "new UiSelector().text(\"Feature\"));");
              radioGroup.click();
  </code></pre>
  
  <p>i tried in this way also but it is not scrolling...the setting opens and that's it</p>