method
take_failed_screenshot
rails latest stable - Class:
ActionDispatch::SystemTesting::TestHelpers::ScreenshotHelper
take_failed_screenshot()public
Takes a screenshot of the current page in the browser if the test failed.
take_failed_screenshot is called during system test teardown.