I am trying to automate the scrolling down of the webpage using the following JS code
window.scrollTo(0,document.body.scrollHeight);
However, instead of scrolling down the page, it is scrolling up.
Webpage in question is - https://www.zeekbeek.com/OSBA/Search-Results#profession=Lawyers®ion=OH
Can someone kindly check what's going wrong here