In the above command xpos indicates the horizontal scroll and ypos indicates the vertical scroll.
For more information visit https://www.w3schools.com/jsref/met_win_scrollto.asp
How to scroll all the way to the bottom of the web page
Set the ypos to document.body.scrollHeight. So, the code would be
Use the Action "Focus Text Field on Web Page" and as a target manually set an element at the bottom of the page, that would not be normally visible, unless you scrolled down. In case it is not a text box and you cannot get the control of the element with the Action "Focus Text Field on Web Page", use another Action that allows you to select the element (e.g. "Click Element on Web Page") and copy the selector from the Controls Repository.
*Note: Focus on an actual text field using the "Focus Text Field on Web Page" Action and then modify the auto-generated CSS selectors accordingly. Replace them with the selectors generated from "Click Element on Web Page".
Sometimes, there is a "Loading More" element briefly appearing at the bottom - you should aim for that if possible. The element may be of any type and not necessarily a Text Box.
In order to load all the results, you should repeat that Action as long as the element still exists. You can achieve this with either a conditional loop or a label and a conditional containing a "Go To" Action.
How to scroll inside a web page element
If we want to scroll inside an element of a web page, we can use the HTML DOM property scrollTop.
The scrollTop property sets or returns the number of pixels an element's content is scrolled vertically.
document.getElementById('divElem').scrollTop -= 10;
The above code will locate the HTML element with id "divElem" and scroll vertically 10 pixels down.