サクサク読めて、アプリ限定の機能も多数!
page.driver.browser.window_handles.length.should == 1
k_oshima のブックマーク 2015/04/22 10:50
How can I detect if a popup (new window) is open or not?[Ruby][Capybara][TIPS][test][testing]page.driver.browser.window_handles.length.should == 12015/04/22 10:50
このブックマークにはスターがありません。 最初のスターをつけてみよう!
www.quora.com2015/04/22
Answer (1 of 2): If there is content in the window, you can do this: [code ruby] Then /^I should see "([^\"]*)" within a new window$/ do |text| within_window(page.driver.browser.window_handles.last...
0 人がブックマーク・0 件のコメント
\ コメントが サクサク読める アプリです /
page.driver.browser.window_handles.length.should == 1
k_oshima のブックマーク 2015/04/22 10:50
このブックマークにはスターがありません。
最初のスターをつけてみよう!
How can I detect if a popup (new window) is open or not?
www.quora.com2015/04/22
Answer (1 of 2): If there is content in the window, you can do this: [code ruby] Then /^I should see "([^\"]*)" within a new window$/ do |text| within_window(page.driver.browser.window_handles.last...
0 人がブックマーク・0 件のコメント
\ コメントが サクサク読める アプリです /