1. A method for taking screenshots of a failed application, the method comprising: running a test of a module, wherein the test is run in a single operating system process that uses a plurality of web browser windows on a display screen; receiving a signal to indicate a screenshot is requested after the test fails in order to determine a cause of the test failure; and capturing screenshots for each of the plurality of web browser windows, wherein the captured screenshots exclude elements that are unrelated to the test.