Browser screenshot on failure

Create a screenshot of current page when browser test fails.

Screenshots are saved into `tmp/` directory.