I'm using the System.Windows.Forms.WebBrowser control and I need to do programaticaly scrolling.
For example, I use this code to scroll down:
WebBrowser.Document.Body.ScrollTop += WebBrowser.Height
The problem is that in some sites it works but in others it doesn't
http://news.google.com (works good)
http://stackoverflow.com/ (doesn't work)
It's can be something about the body code, but I can't figure out.
I've also tried:
WebBrowser.Document.Window.ScrollTo(0, 50)
but this way I don't know the current position.