views:

66

answers:

0

When I manually start Firefox and then try to attach to it using Browser.AttachTo(Find.First()) method, this results in exception "Couldn't find an ForeFox window..."

But when I start FireFox by this command in the first console application: new FireFox(@"http://google.com") and after that try to attach to it using Browser.AttachTo(Find.First()) method in the second console application, it works!

Can anyone explain me why this is happens and how I can attach to manually started Firefox browser?

Win XP SP3, FireFox 3.6.8, jssh-3.6-WINNT.xpi Watin RC1 2.0.20