DEV Community

Discussion on: Running headless Chromium in Azure Functions with Puppeteer and Playwright

Collapse
 
sujithsshetty profile image
Sujith Shetty

Hi @bennypowers , did you find fix for this?

Collapse
 
bennypowers profile image
Benny Powers 🇮🇱🇨🇦

IIRC you need to build it on the remote

func azure functionapp publish my-playwright-func  --build remote
Enter fullscreen mode Exit fullscreen mode

I think you may also need to set an ENV var which specifies that chromium should install in the repo working dir, or something like that