I have implemented scroll in mobile device with appium. Whenever I am scrolling to some element it is not scrolling properly.

Tried with fixed scroll points as well. Here problem is I have small , medium and large size mobile screen sizes available. Which is giving error for other devices.

Problem statement : Want to resolve run time scroll to some element.

Example : Want to scroll till : "Shops By Grades"

Code to scroll :

((AppiumDriver) driver).scrollToExact("Text");

URL : https://www.2gud.com/?cmpid=2G108229

Note: Please open this URL in mobile device and verify.

  • try with scrollTo("text"); Commented Aug 24, 2018 at 5:33
  • I tried that as well.. Did you check the website in mobile ? I think that is not text. can u please check once ?
    – Sagar007
    Commented Aug 24, 2018 at 5:42


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.