Have you tried the attach command for the first windows url? Browser.attach(:url, "http://yourfirsturl")
On Jun 17, 2010 2:10 PM, "Cristina" <cristina.toro...@gmail.com> wrote: I have the following scenario and I am not sure if that can be automated. 1. On a page a have a bunch of links and I have to check if are working properly 2. when i click on one link a new page is opened into a new browser The question is how can I close the second browser and return to the main one to continue checking the other links? Best regards, ~~ Cristina -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. You received this message because you are subscribed to http://groups.google.com/group/watir-general To post: watir-general@googlegroups.com To unsubscribe: watir-general+unsubscr...@googlegroups.com<watir-general%2bunsubscr...@googlegroups.com> -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. You received this message because you are subscribed to http://groups.google.com/group/watir-general To post: watir-general@googlegroups.com To unsubscribe: watir-general+unsubscr...@googlegroups.com