Cucumber, watir and new window

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 forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs