browser-UI-test
browser-UI-test copied to clipboard
Emit screenshot on failure
When a test fails, browser-UI-test should emit a screenshot of the page at the time of failure. This should be turned on by configuring an output directory for those screenshots.
Also, there should be a screenshot command in the .goml scripting language that takes a screenshot of a test at a certain point, so we can compare screenshots of the test passing and the test failing.