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
This happens on AWS-Lambda using the above layer ARN (chrome-aws-lambda)
However, I can reproduce it locally. using sam buildsam local start-api the exact same issue occurs on Windows.
Puppeteer version
puppeteer-core 13.1.1
Node.js version
14.18.3
npm version
6.14.15
What operating system are you seeing the problem on?
Windows, AWS Lambda (Node 14)
Relevant log output
2022-01-23T16:25:03.914Z 09d98dd9-1ce1-44d7-99b6-2cefa32a1d6e INFO Make browser: 900.478ms
2022-01-23T16:25:03.944Z 09d98dd9-1ce1-44d7-99b6-2cefa32a1d6e INFO Make new page: 29.81ms
2022-01-23T16:25:03.946Z 09d98dd9-1ce1-44d7-99b6-2cefa32a1d6e INFO setViewport: 1.181ms
2022-01-23T16:25:05.139Z 09d98dd9-1ce1-44d7-99b6-2cefa32a1d6e INFO takesnap-goto: 1.193s
2022-01-23T16:25:05.139Z 09d98dd9-1ce1-44d7-99b6-2cefa32a1d6e INFO Generating image
2022-01-23T16:25:05.209Z 09d98dd9-1ce1-44d7-99b6-2cefa32a1d6e INFO Generated file length 0
2022-01-23T16:25:05.466Z 09d98dd9-1ce1-44d7-99b6-2cefa32a1d6e INFO S3 Upload: 256.519ms
The text was updated successfully, but these errors were encountered:
Bug description
Steps to reproduce the problem
arn:aws:lambda:eu-west-1:764866452798:layer:chrome-aws-lambda:25
await page.goto(url, {waitUntil: 'networkidle2'});
result = await page.screenshot({ type: 'webp' });
Buffer.byteLength(result) === 0
This only happens with
type: 'webp'
. Usingjpeg
orpng
works perfectly. Somehowwebp
is always blank.Browser
The browser is created in the usual way.
Environment
This happens on AWS-Lambda using the above layer ARN (chrome-aws-lambda)
However, I can reproduce it locally. using
sam build
sam local start-api
the exact same issue occurs on Windows.Puppeteer version
puppeteer-core 13.1.1
Node.js version
14.18.3
npm version
6.14.15
What operating system are you seeing the problem on?
Windows, AWS Lambda (Node 14)
Relevant log output
The text was updated successfully, but these errors were encountered: