output_type()
private

No documentation available.

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

            # If running in a CI environment, default to simple
            output_type ||= "simple" if ENV["CI"]

            # Default
            output_type ||= "inline"

            output_type
          end