method

take_failed_screenshot

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.