Search code examples
c#watin

Why can't WatiN load Bing.com?


I'm using WatiN 2.1.0 with IE11.

If I use the following code, WatiN sucessfuly navigates to the page, but it doesn't seem to load in the page I'm requesting. Instead, it thinks it's looking at about:blank.

var Browser = new IE();
Browser.GoTo("www.bing.com");
Browser.Url; // = about:blank

I get the same behavior when I attempt to load any page in my intranet.

I originally assumed that IE11 was the problem. But, if I replace bing.com with google.com or yahoo.com or stackoverflow.com, it works like a charm. Any thoughts on why some pages can load but not others?


Solution

  • Running your process as administrator should allow it to work.

    Alternatively, disabling protected mode for your Internet zone should work equally well:

    enter image description here