brenden/node-webshot

onConsoleMessage options does not do anything

Opened this issue · 0 comments

This is caused by two issues:

  1. stderr and stdout are swallowed up and not passed to user.

  2. onConsoleMessage function definition ends up being executed using page.evaluate which executes it in the page context.