How to control scroll speed

I could use the following command to scroll the screen down
.execute(“mobile: scroll”, [{direction: ‘down’}])

But is there any way to control the scroll speed? I actually wanna slow down the scroll speed in my test.
e.g. .execute(“mobile: scroll”, [{direction: ‘down’, duration: ‘100’}]) ? --> this one doesn’t work

And can anyone kindly point me the documents to explain the execute mobile script commands, e.g. scroll, tab?

Many thanks!

1 Like