Running Containerized Playwright in AWS AWS Lambda
When trying to take a containerized Playwright script and run it in AWS Lambda, I was running into immediate target crashes, with even additional memory configured.
I eventually found this StackOverflow question and after tinkering with the flags I found
that the following launch command worked in AWS Lambda:
chromium.launch(headless=True, args=['--no-sandbox', '--disable-gpu', '--single-process', '--no-zygote', '--disable-setuid-sandbox'])