on-internet
← Community

Playwright driver not found error in Azure Function (Azure Portal - Flex consumption plan)

Stack Overflow ·

I implemented a functionality to capture a webpage screenshot and convert it into an image. Initially, I tried using Puppeteer, but it didn't work on Azure. Then, I attempted to use Playwright to achieve the same functionality, but I am encountering issues when running it from an Azure Function. Microsoft.Playwright.PlaywrightException: Driver not found: /home/.playwright/node/linux-x64/node at Microsoft.Playwright.Helpers.Driver.GetExecutablePath() in /_/src/Playwright/Helpers/Driver.cs:line 96 at Microsoft.Playwright.Transport.StdIOTransport.GetProcess(String driverArgs) in /_/src/Playwright

Comments

Sign in or sign up to comment and upvote.

No comments yet.