These are chat archives for rosshinkley/nightmare

Oct 2016
Oct 25 2016 05:48 UTC
From Waseda.Univer
i am a jp and a new guy in nightmare.
how to get the new page html after the click. thx
Oct 25 2016 19:59 UTC
@zypjerry as much as I'd like to help you I don't understand your question at all. :/

Good evening folks, didn't want to post this really specifically strange & vague issue here but I can't find any cause. Checked the debug logs and all.
So if you do the following in nightmare it completely freezes, even the dev tools:
open the website: '' > fill in a room name and click create > the freeze causing page will open

To quickly open up the page :)

const Nightmare = require('nightmare');
const nightmare = Nightmare({show: true});

  .then(function () {
    console.log('page loaded');
  .catch(function (error) {
Oct 25 2016 20:12 UTC
Could anybody confirm this or suggest things I could try out?
Oct 25 2016 20:18 UTC
Running on Linux, latest Nightmare version. Tried in combination with Node 4 & 6.
Oct 25 2016 20:49 UTC

As it worked before I went back version by version until it works...
So the last working version is 2.4.1 then the versions 2.5.x have the following error:

    TypeError: Converting circular structure to JSON
        at (internal/child_process.js:626:23)
        at (internal/child_process.js:538:19)
        at EventEmitter.IPC.emitter.emit [as emit] (/home/selwyn/codeground/jukes/node_modules/nightmare/lib/ipc.js:54:15)
        at WebContents.<anonymous> (/home/selwyn/codeground/jukes/node_modules/nightmare/lib/runner.js:598:17)
        at emitMany (events.js:132:20)
        at WebContents.emit (events.js:201:7)

And up from version 2.6.0 it has the issue I described above of freezing the whole process.