support for taking snapshot of failed tests pages: saved in /tmp by default, must be improved