Scroll Down to Bottom of the Page

Questions and Answers about programming Helium Scraper.
Post Reply
aigoodaigoo
Posts: 10
Joined: Wed May 18, 2011 6:18 pm

Scroll Down to Bottom of the Page

Post by aigoodaigoo » Wed May 18, 2011 6:21 pm

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?

webmaster
Site Admin
Posts: 494
Joined: Mon Dec 06, 2010 8:39 am
Contact:

Re: Scroll Down to Bottom of the Page

Post by webmaster » Thu May 19, 2011 3:32 am

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.
Juan Soldi
The Helium Scraper Team

Post Reply