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.