These are chat archives for rosshinkley/nightmare

28th
Jan 2017
Ron Gross
@ripper234
Jan 28 2017 08:18

Hi there,

I'm writing a Nightmare test that tries to evaluate() multiple times. Is this possible?

johnferro
@johnferro
Jan 28 2017 15:05
@ripper234 The problem you're having is that in your linked example click is being called on a promise object but it needs to be called on the nightmare object. Here's an example of having multiple evaluates: https://github.com/rosshinkley/nightmare-examples/blob/master/examples/beginner/promises/multiple-steps.js