Can you please provide an example for using `evaluate()` to get the page's content?
I tried this, but didn't get anything:
new Nightmare() .goto('http://yahoo.com') .evaluate(function (page) { return this.content; }, function (res) {console.log(res);}) .run();
Can you please provide an example for using `evaluate()` to get the page's content?
I tried this, but didn't get anything: