I'm working on a tool for cross-browser testing: the idea being that a WinForms app will open a range of URLs over a range of browsers, and save each out as a screenshot.
I have a problem with Internet Explorer though - namely that the opened window thinks it's a lot larger than it actually is...
windowHeight = $(window).height();
documentHeight = $(document).height();
alert("Window Height: "
+ windowHeight + "px, Document Height: "
+ documentHeight + "px"
If I open my url in IE normally, it picks up (for example) a window height of 880px - which is correct since my screen is 1050px high, minus a bit for the IE toolbars/furniture.
In my WinForms application, I can open IE happily with one of the scrollable urls - namely
process.StartInfo.CreateNoWindow = false
process.StartInfo.WindowStyle = ProcessWindowStyle.Maximized;
process.StartInfo.FileName = "iexpl
View Complete Post