I tried using webBrowser1.Document.Body.ScrollTop and webBrowser1.Document.Body.ScrollLeft, but they don\'t work. They always return 0 and I can\'t
webBrowser1.Document.Body.ScrollTop
webBrowser1.Document.Body.ScrollLeft
I found kurt's answer almost worked but had to change the array reference as follows:
var document = (HTMLDocument)Browser.Document; var scrollTop = (int)document.getElementsByTagName("HTML").item(0).ScrollTop;