What is the duration that needs to be sent to scroll command?

I was unable to set a duration on execute_script, “mobile:scroll” in ruby_lib.

I get the error duration isn’t in the range 3-60secs. No matter what combination I tried, it results in an error.

@bootstraponline says it’s a bug :smile:
Though I don’t know if he meant in just ruby_lib or appium.

This is probably a server bug. If you post an issue with the server logs then we can tell for sure. I’m not sure scroll even takes a duration.