Fix "Capybara::Webkit::InvalidResponseError" error