Support for caputring screenshot when test fail