You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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 theEvents
needed, notpuppeteer
.The text was updated successfully, but these errors were encountered: