Adding screenshot to the logging