c# - WebBrowser control do not download images -
i automating process of downloading bank statement. way using win forms webbrowser control. navigate https://www.bankofamerica.com/ find username , password textboxes in dom fill them in c# send click event submit button etc etc. statement want download when ready parse page source.
the process works slow. in summary improve performance of process these things considering:
use fiddler see requests , responses hoping automate same process. (the problem approach connection encrypted have set cookies , belive complicated way).
prevent webbrowser control downloading images , css. way page.ready event fire earlier , process faster.
i rader go option number 2 because know little fiddler , know basics of http. how can speed process?
it's trivial capture encrypted traffic fiddler; enable decrypt https connections option.
it's easy disable download of images web browser control using "ambient dlcontrol" flags. see http://www.tech-archive.net/archive/inetsdk/microsoft.public.inetsdk.programming.webbrowser_ctl/2009-01/msg00035.html example.
Comments
Post a Comment