# File lib/capybara-screenshot/saver.rb, line 92 def clear_save_path old_path = Capybara::Screenshot.capybara_tmp_path Capybara::Screenshot.capybara_tmp_path = nil yield ensure Capybara::Screenshot.capybara_tmp_path = old_path end