macbre / phantomas

Headless Chromium-based web performance metrics collector and monitoring tool
https://www.npmjs.com/package/phantomas
BSD 2-Clause "Simplified" License
2.25k stars 141 forks source link

Pass custom events from phantomas to CommonJS module #322

Closed macbre closed 10 years ago

macbre commented 10 years ago

Pass events from phantomas modules to CommonJS scripts:

Emit phantomas "core" events (recv, send) using emitInternal method - i.e. don't pass them to CommonJS scripts.

macbre commented 10 years ago
  phantomas:ipc domQuery: ["tag name","img"] +0ms
  phantomas:ipc filmStrip: ["filmstrip/screenshot-2014-05-18T14:22:06-1902.png",1902] +0ms