Forum: RSpec cucumber, watir and new window

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
aa a. (Guest)
on 2009-03-17 07:56
Hi,
I'm using cucumber and watir and when I want to test i'm on the right
page, I use
 browser.url.should =~ "blah"
but how do i test that if the code opens a new window properly? The
browser.url is still, correctly, set to the original page url.
This topic is locked and can not be replied to.