Hi all,

First time posting. Forgive any mistakes please.

I'm using Firewatir to test links on a page in Firefox, but I want to
be able to close the tab and regain focus on the main page again.

What I've got right now is: (browser is just Firefox.new)

browser.link(:id, "link").click
browser.attach(:title, 'title of link').close

But it closes the entire Firefox window, rather than just the 'title
of link' tab.

Is this possible to do in with Firewatir?

Thanks.

--~--~---------~--~----~------------~-------~--~----~
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 
watir-general-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~----------~----~----~----~------~----~------~--~---

Reply via email to