Hi Guys,

Im using Watir-WebDriver and firefox
In my tests at the end I want to close all instances of the browsers
(which is 3 browser windows in total)

In my env.rb file i have:
After do
        @browser.close_all
end

BUT it does not close all browser windows. I get the following error
message:
 undefined method `close_all' for #<Watir::Browser:0x3dcb1b0>
(NoMethodError)

Is there anyone who has had a similar problem like this before?

Thanks in advance,
Usman Hussain

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