Appium 1.5 can't use js.executeScript to scrollTo object

js.executeScript(“mobile: scrollTo”, scrollObject); returns an exception.
Worked perfectly on all iOS until upgrading to appium 1.5

Which exeption? Provide trace, please

Hey there:
It looks like 1.4 uses absolute positioning for iOS, whereas 1.5 is relative to the initial press.

More info here:

Maybe a guess, but it’s possible the method you are using isn’t updated to reflect this?

Let me know if you need more info. I’ve gotten swipes to work well in Appium 1.5

1 Like