method
take_failed_screenshot
v7.2.3 -
Show 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.