Michael Hwee wrote: > Did you try with object instance? > > ff = FireWatir::Firefox.new.attach(:title,/Title/) >
This code works but still does not solve the problem :) When I click a link the new page is opened in the same window in ACTIVE tab. So I can click anything in this tab and I do not need to attach it. But code ff = FireWatir::Firefox.new.attach(:title,/ Title/) helps to verify that page is really open. When I want to switch back to the previous page by this code I have an error "Unable to locate window, using url and http://link.com/" --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Watir General" group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/watir-general -~----------~----~----~----~------~----~------~--~---