Azure Function .Net Core 3.1 - Failed to launch chromium because executable doesn't exist
See original GitHub issueI published a simple example to Azure Function (Windows) and I got the error:
Failed to launch chromium because executable doesn’t exist at C:\local\LocalAppData\ms-playwright\chromium-833159\chrome-win\chrome.exe Try re-installing the browsers running
playwright-cli.exe install
in windows orplaywright-cli install
in MacOS or Linux. Note: passdebug: "pw:api"
to LaunchAsync to capture Playwright logs.
Any idea how to fix this? Thank you!
Issue Analytics
- State:
- Created 3 years ago
- Comments:15 (4 by maintainers)
Top Results From Across the Web
Azure Function .Net Core 3.1 - Failed to launch chromium ...
I published a simple example to Azure Function (Windows) and I got the error: Failed to launch chromium because executable doesn't exist at...
Read more >typescript - Playwright - Can't launch Chromium when it's in ...
I made an Azure Function that uses Playwright. It works locally, well, that part doesn't change). Then I created Azure DevOps pipeline, ...
Read more >Failed to launch chromium because executable doesn't exist
Hi, I'm trying to use Playwright in a Netlify function but I get this error on deploy (works great locally with netlify dev...
Read more >Playwright: “Failed to launch Browsers” — how to solve?
“Error: Failed to launch chromium because executable doesn't exist”. This post explains how to solve the above issue in the CI.
Read more >Error when trying to start an Azure function on a different ...
Hi, I'm trying to start two functions at the same time with Visual studio, it gives me an error because of the port....
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
While we’re working on getting the scenario documented and working, you can use a docker container: https://docs.microsoft.com/en-us/azure/azure-functions/functions-create-function-linux-custom-image?tabs=bash%2Cportal&pivots=programming-language-csharp
as long as you have ran
playwright install
it should work.But this is something we’re working on.
I’d second this. I keep getting a message complaining that it can’t find the playwright driver in the bin folder, despite it being there. I use Linux on deployed and WSL/Windows locally and get the same message everywhere, but my unit test project doesn’t seem to have a problem finding and using playwright