Check if browser has moved on to the next page before scanning for errors