It takes a speed argument, which sets the number of pixels to scroll per second and defaults to 2500. To use this on your project, follow these instructions.
Code: Select all
function (speed)
State.Child
· Browser.RunScript
· "var e=null,o=()=>{var n=element.scrollTop;element.scrollTop+=argument/100,n<element.scrollTop?setTimeout(o,10):e()};return setTimeout(o,10),new Promise(o=>e=o)"
· speed
Code: Select all
Select.ScrollableElement
ScrollSlowlyToBottom
· 2500