groupon/testium — pull request #4 by EndangeredMassa (2013-12-20 17:32:27+00:00)
Title: only turn off newPage if error was on real request

There is a race condition where a request can be aborted from a previous page load, turning `newPage` off just before the `newPage` request actually comes in. That means the new request will not return the proper cookie that records its response status code and headers.