Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why can't WatiN load Bing.com?

Tags:

c#

watin

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?

like image 512
samiz Avatar asked Sep 17 '13 03:09

samiz


1 Answers

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

like image 189
Jimmie R. Houts Avatar answered Oct 07 '22 03:10

Jimmie R. Houts