method
output_type
v5.2.3 -
Show latest stable
- Class:
ActionDispatch::SystemTesting::TestHelpers::ScreenshotHelper
output_type()private
No documentation available.
# File actionpack/lib/action_dispatch/system_testing/test_helpers/screenshot_helper.rb, line 57
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