added screenshot on failure
Merge pull request #884 from gidsg/screenshot-on-failure

screenshot on failure