Just trying to see if I can stop Watin / IE from loading images so the whole thing goes a lot faster?
A:
You can stop images from being loaded via the Internet Explorer options.
To disable images in IE:
- Select Tools -> Internet Options
- Go to the Advanced tab
- Scroll down to the settings section Multimedia
- Uncheck the box 'Show pictures'
This could also be achieved programmatically by changing the appropriate registry setting. e.g.
RegistryKey ieKey = Registry.CurrentUser.CreateSubKey(@"Software\Microsoft\Internet Explorer\Main");
ieKey.SetValue("Display Inline Images", "no");
Sam Warwick
2009-08-14 06:23:05
I wanted to do this programmatically.
Keith Nicholas
2009-08-16 22:34:11
I've updated the answer with a code sample.
Sam Warwick
2009-08-17 05:20:20