Description
Lambda 1:
playwright-aws-lambda v0.9.0
Node 16
Lambda 2:
playwright-aws-lambda v0.10.0
Node 18
AWS Lambda
CI/CD Gitlab
When trying to go to a URL with page.goto(), getting continuous error - 'Error: page.goto: Target page, context or browser has been closed'.
At handler level the error says - "TypeError: Cannot read properties of undefined (reading 'close')\n at d. (/var/task/src/handler.js:1:17387)\n at Generator.next ()\n at a (/var/task/src/handler.js:1:15631)"
The above error in occurring in lambdas which got built by Gitlab pipeline on/after April 18. The same code is still working fine for the lambdas that were build and deployed before April 18.
The deployment packages for old and new deployments are totally same - node module versions and configs.
Any recent updates somewhere would have affected this? TIA.