Steps to reproduce
N/A (Not able to reproduce consistently.)
Tell us about your environment:
What steps will reproduce the problem?
Please include code that reproduces the issue.
const defaultPuppeteerOptions: Object = {
args: [
'--no-sandbox',
'--disable-setuid-sandbox'
],
devtools: false,
headless: true,
ignoreHTTPSErrors: true,
slowMo: 0
};
const defaultViewport = {
deviceScaleFactor: 1,
hasTouch: false,
height: 1024,
isLandscape: false,
isMobile: false,
width: 1280
};
const browser = await puppeteer.launch({
...defaultPuppeteerOptions
});
const page = await browser.newPage();
await page.setViewport(defaultViewport);
await page.goto('https://www.myvue.com/');
What is the expected result?
No error.
What happens instead?
unhandledRejection Error: Page crashed!
at Page._onTargetCrashed (/srv/node_modules/puppeteer-edge/lib/Page.js:102:24)
at Session.Page.client.on.event (/srv/node_modules/puppeteer-edge/lib/Page.js:97:56)
at emitOne (events.js:115:13)
at Session.emit (events.js:210:7)
at Session._onMessage (/srv/node_modules/puppeteer-edge/lib/Connection.js:210:12)
at Connection._onMessage (/srv/node_modules/puppeteer-edge/lib/Connection.js:105:19)
at emitOne (events.js:115:13)
at WebSocket.emit (events.js:210:7)
at Receiver._receiver.onmessage (/srv/node_modules/ws/lib/WebSocket.js:143:47)
at Receiver.dataMessage (/srv/node_modules/ws/lib/Receiver.js:389:14)
at Receiver.getData (/srv/node_modules/ws/lib/Receiver.js:330:12)
at Receiver.startLoop (/srv/node_modules/ws/lib/Receiver.js:165:16)
at Receiver.add (/srv/node_modules/ws/lib/Receiver.js:139:10)
at Socket._ultron.on (/srv/node_modules/ws/lib/WebSocket.js:139:22)
at emitOne (events.js:115:13)
at Socket.emit (events.js:210:7)
at addChunk (_stream_readable.js:266:12)
at readableAddChunk (_stream_readable.js:253:11)
at Socket.Readable.push (_stream_readable.js:211:10)
at TCP.onread (net.js:585:20)
I am intermittently getting "Page crashed!" error.
What does the error mean?
Steps to reproduce
N/A (Not able to reproduce consistently.)
Tell us about your environment:
What steps will reproduce the problem?
Please include code that reproduces the issue.
What is the expected result?
No error.
What happens instead?
I am intermittently getting "Page crashed!" error.
What does the error mean?