Page 1 of 1

Scroll Down to Bottom of the Page

Posted: Wed May 18, 2011 6:21 pm
by aigoodaigoo
Hi,

I'm trying to automate scrolling down to bottom of the page. This functionality is in reference to when viewing Facebook Page, default screen hides some wall postings unless you scroll down with a mouse or press page down key. Any useful way to do this in Javascript or "next" like Kinds object?

Re: Scroll Down to Bottom of the Page

Posted: Thu May 19, 2011 3:32 am
by webmaster
Hi,

Use this code to scroll to the bottom of the page:

Code: Select all

window.scrollTo(0, document.body.scrollHeight);
Just paste that in a "Execute JavaScript" action. After this, action add a "Wait" action. About 200 ms should do on this case. I actually tested it with 100 ms and worked fine.