Question Page Down to Bottom of Page in WebBrowser Control

digitaldrew

Well-known member
Joined
Nov 10, 2012
Messages
167
Programming Experience
Beginner
I'm using the webbrowser control and opening a page that uses ajax (I guess) to continuously load content as you scroll down the page. Kind of like on Facebook how you scroll down and more status updates show up in your feed.

Anyways, I have a list of 50 items on the page..only 10 show up and as you scroll down another 10 show up..then another 10..so on.. Is there a simple way I can have the web browser automatically page all the way down till it hits the end?

Any help or suggestion links is appreciated!
 
This works for me in a similar paged document:
        With Me.WebBrowser1.Document
            Dim i = 0
            Do Until i = .Body.ScrollRectangle.Height
                i = .Body.ScrollRectangle.Height
                .Window.ScrollTo(0, i)
            Loop
        End With
 
Back
Top