node-warc
node-warc copied to clipboard
TypeError on Puppeteer example: Cannot read property 'Page' of undefined
Copying/pasting the Puppeteer example in the readme, replacing only the URL, and I get UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'Page' of undefined
.
I've tried Puppeteer v1.2.x a d v2.0.0 with the same error. Pardon any Puppeteer ignorance on my end, but I don't think the library is exporting an Events
object.
But const { Events } = require('chrome-remote-interface-extra')
seems to do the trick and bring in the Events
needed, not puppeteer
.