Update because it is not finding "next page" link
The example works fine for me the way it is. Could you post the output of running it with debugging on (i.e., DEBUG='horseman*' BLUEBIRD_DEBUG=1 node examples/links.js)?
http://prntscr.com/etpzw3
Unhandled rejection click evaluatePage
global code
evaluateJavaScript@[native code]
evaluate@phantomjs://platform/webpage.js:390:39
phantomjs://code/bridge.js:121:61
at
C:\Users\KeyHammer\Documents\Dev\scrape\node_modules\node-horseman\lib\actions.js:992:36
at tryCatcher
(C:\Users\KeyHammer\Documents\Dev\scrape\node_modules\bluebird\js\release\util.js:16:23)
at Function.Promise.fromNode.Promise.fromCallback
(C:\Users\KeyHammer\Documents\Dev\scrape\node_modules\bluebird\js\release\promise.js:180:30)
at Horseman.
On Fri, 7 Apr 2017 at 22:24 Alex Layton [email protected] wrote:
The example works fine for me the way it is. Could you post the output of running it with debugging on (i.e., DEBUG='horseman*' BLUEBIRD_DEBUG=1 node examples/links.js)?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/johntitus/node-horseman/pull/274#issuecomment-292629332, or mute the thread https://github.com/notifications/unsubscribe-auth/AII4V49_FDv7aufnXOdFN12FO9EcyGNjks5rto1SgaJpZM4M2_fg .
Please run with the debugging variables set like in my comment. It makes the log useful.