within_window capybara
Capybara lets you test things in multiple windows. Which blows my mind for some reason.
window = page.drivers.window_handles.first
within_window(window) do
test_the_form
end
Tweet
Capybara lets you test things in multiple windows. Which blows my mind for some reason.
window = page.drivers.window_handles.first
within_window(window) do
test_the_form
end
Tweet