Chromium does tend to have issues in a serverless environment. Sometimes updating packages or using a different Node version can help.
We have an example using Playwright with Vercel Serverless Functions that you can use as a reference: GitHub - vercel-support/00243608-nextjs-playwright
Someone else recently solved a Playwright issue in their project by switching to a different automated solution: Libnss3.so missing in Node 22.x - #4 by zetxek
I hope that helps!