I just upgraded my x64 Windows 7 machine to IE9 and now WatiN is throwing a BrowserNotFoundException
when I do something like:
IE ie = new IE(true);
ie.GoTo("http://google.com");
I am using WatiN 2.1 and the latest code from SourceForge. The exact version of IE9 I'm running is 9.0.5. The browser window actually launches to "about:blank" but WatiN fails to find the newly launched browser. It appears WatiN finds the newly launched browser by comparing the main window handle of the launched iexplore.exe process to the main window handle of the browsers it finds using the native COM methods.
Is there any special setup I need to do with IE 9 to make it work with WatiN? I've tried changing WatiN to launch without add-ons and that didn't work either. Any ideas are greatly appreciated.