module NdrDevSupport::IntegrationTesting::DSL::SessionExtensions

Adds variant of Capybara’s within_window method, that doesn’t return to the preview window on an exception. This allows us to screenshot a popup automatically if a test errors/fails whilst it has focus.