[Wtr-general] Set focus to original window
Danny Faught
faught at tejasconsulting.com
Fri Dec 1 22:49:09 EST 2006
Alan Jahns wrote:
> I have some simple if/else statements to check
> if some text strings are on the original window, but it seems that it no
> longer sees the original window. How would I make watir switch focus back?
One likely mistake is to use the same variable, like "ie", for both the
parent and the child window. Make sure to use separate variables for
each window that you want to keep track of.
-Danny
More information about the Wtr-general
mailing list