These are chat archives for rosshinkley/nightmare

30th
Dec 2017
Tiago
@tpsvr_twitter
Dec 30 2017 14:05

Hi!
It is no longer possible to pass a function as a parameter?

var myfn = function(p) { ... };
nightmare
  .goto(myUrl)
  .evaluate((p,fn)=>{ fn(p); }, p, myfn)
  .then( ... )

I'm getting the error: myfn is not a function