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
TypeError: Cannot read property 'execScript' of undefined
On resize the viewport, the following error occurs:
{ parser: "babylon" } is deprecated; we now treat it as { parser: "babel" }.
(function(width, height) {
var onResize = new Promise(function(resolve) {
return self.addEventListener('resize', function() {
return resolve();
});
});
self.resizeTo(
self.outerWidth - self.innerWidth + width,
self.outerHeight - self.innerHeight + height
);
return onResize;
})
TypeError: Cannot read property 'execScript' of undefined
at ExecutionContext.evaluate (C:\Projects\node_modules\puppeteer-ie\source\ExecutionContext.js:151:31)
at Page.evaluate (C:\Projects\node_modules\puppeteer-ie\source\Page.js:375:31)
at Page.setViewport (C:\Projects\node_modules\puppeteer-ie\source\Page.js:502:21)
at C:\Projects\login.js:13:8
at <anonymous>
at process._tickCallback (internal/process/next_tick.js:189:7)
at Function.Module.runMain (module.js:696:11)
at startup (bootstrap_node.js:204:16)
at bootstrap_node.js:625:3
TypeError: Cannot read property 'execScript' of undefined
On resize the viewport, the following error occurs:
Here the code that reproduces the error:
Node: v8.15.1
puppeteer-ie: v0.5.7
OS: Windows 10
The text was updated successfully, but these errors were encountered: