Hi!
When capturing images using WatiN the resulting images are just empty, solid black. The size of the images equals the screen size, though. For example the following snippet just saves two black images.
using (IE ie = new IE()) {
ie.ClearCache();
ie.BringToFront();
ie.GoTo("http://localhost/");
ie.CaptureWebPageToFile(imageDir + "\\localhost.png");
WatiN.Core.CaptureWebPage capture = new CaptureWebPage(ie);
capture.CaptureWebPageToFile(imageDir + "\\localhost.jpg", true, true, 100, 80);
Assert.IsTrue(ie.ContainsText("Zend"));
}
Other have reported this as well but I haven't seen any solution. See comments here: http://www.codeproject.com/KB/graphics/IECapture.aspx?display=PrintAll&fid=192174&df=90&mpp=25&noise=3&sort=Position&view=Quick&fr=51&select=1810490
Hope any can shed some light on this.
Cheers // John