Introduction
Collecting evidence like screenshots and logs helps find and fix problems by showing what happened during a test.
When a test fails and you want to see what the screen looked like at the failure moment.
When you want to keep a record of test steps to understand the flow later.
When debugging intermittent errors that do not happen every time.
When sharing test results with teammates to explain issues clearly.
When tracking down why a web page did not load or behave as expected.