# Not getting the scrollTo method option

**URL:** <https://discuss.appium.io/t/not-getting-the-scrollto-method-option/12024>\
**Category:** Support\
**Created:** [September 7, 2016, 11:26am UTC](https://discuss.appium.io/t/not-getting-the-scrollto-method-option/12024 "2016-09-07T11:26:02Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![vib1307](https://discuss.appium.io/letter_avatar_proxy/v4/letter/v/57b2e6/32.png) [@vib1307](https://discuss.appium.io/u/vib1307)\
**Post date:** [September 7, 2016, 11:26am UTC](https://discuss.appium.io/t/not-getting-the-scrollto-method-option/12024/1 "2016-09-07T11:26:03Z")

</div>

tsmartdriver.scrollTo(“temp”);

 ![](https://discuss.appium.io/uploads/default/original/2X/1/13223553b738532eeccd2a9259ad06053c91817d.png) ![](https://discuss.appium.io/uploads/default/original/2X/b/b3b8df6940cb0138d81367957b411c1cfee28f3f.png)

---

<div class="post-metadata">

**Author:** ![TuHuynh](https://discuss.appium.io/user_avatar/discuss.appium.io/tuhuynh/32/2487_2.png) [@TuHuynh](https://discuss.appium.io/u/TuHuynh)\
**Post date:** [September 7, 2016, 11:33am UTC](https://discuss.appium.io/t/not-getting-the-scrollto-method-option/12024/2 "2016-09-07T11:33:57Z")

</div>

I guess you’re using java-client is bigger than 4.0 because: scrollTo() and scrollToExact() became deprecated from this version.

---

<div class="post-metadata">

**Author:** ![vib1307](https://discuss.appium.io/letter_avatar_proxy/v4/letter/v/57b2e6/32.png) [@vib1307](https://discuss.appium.io/u/vib1307)\
**Post date:** [September 7, 2016, 12:03pm UTC](https://discuss.appium.io/t/not-getting-the-scrollto-method-option/12024/3 "2016-09-07T12:03:01Z")

</div>

yes i am using the bigger version of java client so is there solution for the same?

---

<div class="post-metadata">

**Author:** ![TuHuynh](https://discuss.appium.io/user_avatar/discuss.appium.io/tuhuynh/32/2487_2.png) [@TuHuynh](https://discuss.appium.io/u/TuHuynh)\
**Post date:** [September 7, 2016, 12:06pm UTC](https://discuss.appium.io/t/not-getting-the-scrollto-method-option/12024/4 "2016-09-07T12:06:23Z")

</div>

I think…you should replace with swipe();

The info for your reference her: [https://github.com/appium/java-client](https://github.com/appium/java-client)
