# File lib/selenium/rspec/reporting/html_report.rb, line 21
21:         def logs_and_screenshot_sections(example)
22:           dom_id = "example_" + example.reporting_uid
23:           system_screenshot_url = @file_path_strategy.relative_file_path_for_system_screenshot(example)
24:           page_screenshot_url = @file_path_strategy.relative_file_path_for_page_screenshot(example)
25:           snapshot_url = @file_path_strategy.relative_file_path_for_html_capture(example)
26:           remote_control_logs_url = @file_path_strategy.relative_file_path_for_remote_control_logs(example)
27:           
28:           html = ""
29:           if File.exists? @file_path_strategy.file_path_for_html_capture(example)
30:             html << toggable_section(dom_id, :id => "snapshot", :url=> snapshot_url, :name => "Dynamic HTML Snapshot")
31:           end
32:           if File.exists? @file_path_strategy.file_path_for_remote_control_logs(example)          
33:             html << toggable_section(dom_id, :id => "rc_logs", :url=> remote_control_logs_url, :name => "Remote Control Logs")
34:           end
35:           if File.exists? @file_path_strategy.file_path_for_page_screenshot(example)
36:             html << toggable_image_section(dom_id, :id => "page_screenshot", :name => "Page Screenshot", :url => page_screenshot_url)
37:           end
38:           if File.exists? @file_path_strategy.file_path_for_system_screenshot(example)
39:             html << toggable_image_section(dom_id, :id => "system_screenshot", :name => "System Screenshot", :url => system_screenshot_url)
40:           end
41:           
42:           return html
43:         end