views:

92

answers:

2

IE.AttachToIE(Find.ByUrl("my url") seems to be non-existent in the WatiN 2.0 RC candidate. It does exist in 1.3. How can I fix it in 2.0?

+1  A: 

Try this:

IE.AttachTo<IE>(Find.ByUrl("my url"))
prostynick
A: 

Browser ie = Browser.AttachTo(typeof(IE), Find.ByTitle(new Regex("Window Title.*")));

Tester