WebBrowser Control scroll to end

  • Thread starter Thread starter Sudip_inn
  • Start date Start date
S

Sudip_inn

Guest
i need to parse heading and some text from a specific web site which load data on scroll. now loading that site into web browser control. doing web scrapping little bit.

With below code i can scroll to end of browser control and on scroll web site load more data and scroll bar again goes up

if (webBrowser1.Document != null)
{
webBrowser1.Document.Window.ScrollTo(0, webBrowser1.Document.Body.ScrollRectangle.Height);
}


Please tell me how to determine there is no any more content to scroll down using web browser control. what code help me to detect there is no any more content to scroll down. thanks

Continue reading...
 
Back
Top