We don't support this currently, blocked on this issue in WebDriver:
http://code.google.com/p/selenium/issues/detail?id=18
We do have some window handling though, you can e.g. do:
browser.window(:title => "annoying popup").use do
browser.button(:id => "close").click
end
Check out the spec for more examples:
http://github.com/jarib/watirspec/blob/watir2/window_switching_spec.rb
> any helpp would be much appreciated.
>
> Kind regards,
> 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-...@googlegroups.com
> To unsubscribe: watir-genera...@googlegroups.com
>