sgentle/phantomjs-node — Issue #19: Timeout support for page.open()
Author: jhurliman
Created: 2012-02-05 02:22:40+00:00
State: open

Is there a configurable timeout for opening webpages somehwere in phantomjs-node? An (optional) per page timeout parameter would be ideal, but even a global timeout would suffice. For my specific use case, I would like to attempt to open a page, and if the request has not finished within 30 seconds, cancel the request and fire the callback with an error status.