Method CaptureWebPageToFile fail
Brought to you by:
jvmenen
1/ Launch a web page with FireFox
2/ Using method CaptureWebPageToFile method
--> InvalidCastException was unhandled: Unable to cast object of type "WatiN.Core.Native.Mozilla.FFDocument' to type 'WatiN.Core.Native.InternetExplorer.IEDocument'
Note: the method works fine for IE.
I was using FireFox 3.5.7
The CaptureWebPageFile will now throw a NotImplementedException. Getting this to work for FireFox is hard and will not be implemented in the near future.