On Thu, Jun 17, 2010 at 11:10 PM, Cristina <cristina.toro...@gmail.com>
wrote:
> The question is how can I close the second browser and return to the main
one to continue checking the other links?

browser1.link(how, what).click
browser2 = Watir::Browser.attach(how, what)
# do something with browser2
browser2.close
# continue with browser1

More information:

http://wiki.openqa.org/display/WTR/New+Browser+Windows

Ask if you have further questions.

Željko
--
watir.com - community manager
watirpodcast.com - host
testingpodcast.com - audio podcasts on software testing. all of them
vidipodkast.com - pričamo o hardveru, softveru i časopisu Vidi

-- 
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

Reply via email to