Capture screenshot when requirement fails