instance method
supports_screenshot?
Ruby on Rails 7.0.10
Since v5.2.8.1 PrivateSignature
supports_screenshot?()
No documentation comment.
Source
# File actionpack/lib/action_dispatch/system_testing/test_helpers/screenshot_helper.rb, line 136
def supports_screenshot?
Capybara.current_driver != :rack_test
end
Defined in actionpack/lib/action_dispatch/system_testing/test_helpers/screenshot_helper.rb line 136
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionDispatch::SystemTesting::TestHelpers::ScreenshotHelper