segmentio/nightmare — pull request #93 by seagullua (2014-10-30 17:04:40+00:00)
Title: Add status code and response handling

Detect is the page loading failed by function Nightmare.hasError(). Check server status code by Nightmare.getStatusCode()