method

output_type

Importance_0
v6.1.7.7 - Show latest stable - 0 notes - Class: ScreenshotHelper
output_type() private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File actionpack/lib/action_dispatch/system_testing/test_helpers/screenshot_helper.rb, line 98
          def output_type
            # Environment variables have priority
            output_type = ENV["RAILS_SYSTEM_TESTING_SCREENSHOT"] || ENV["CAPYBARA_INLINE_SCREENSHOT"]

            # Default to outputting a path to the screenshot
            output_type ||= "simple"

            output_type
          end
Register or log in to add new notes.