# File lib/selenium/rspec/reporting/selenium_test_report_formatter.rb, line 49 49: def example_failed(example, counter, failure) 50: old_output = @output 51: @output = StringIO.new 52: super 53: 54: result = @output.string 55: report = Selenium::RSpec::Reporting::HtmlReport.new(@@file_path_strategy) 56: report.replace_placeholder_with_system_state_content(result, example) 57: old_output.puts result 58: old_output.flush 59: ensure 60: @output = old_output 61: end