MDL-50163 behat: Restart session after scenario with switch_window