Closed 12masta closed 2 years ago
I have Azure Function app on dotnet bindings. Locally everything works perfectly. After deploy I am unable to run it because of error:
_2022-02-28T13:42:06.482 [Error] Executed 'SignUpForTraining-QA' (Failed, Id=1d16ae56-cd75-4d45-aff1-c0f4c2786b4c, Duration=11ms)Driver not found: C:\home\site.playwright\node\win32x64\playwright.cmd
As you see driver is not found. I found a way to make it as part of deploy package. playwright.cmd is on place but on the different path:
Is there is a way to set the path for driver manually? Maybe by some environment variable?
Folding into https://github.com/microsoft/playwright-dotnet/issues/1842
We recommend Azure Container Apps instead.
Your question
I have Azure Function app on dotnet bindings. Locally everything works perfectly. After deploy I am unable to run it because of error:
_2022-02-28T13:42:06.482 [Error] Executed 'SignUpForTraining-QA' (Failed, Id=1d16ae56-cd75-4d45-aff1-c0f4c2786b4c, Duration=11ms)Driver not found: C:\home\site.playwright\node\win32x64\playwright.cmd
As you see driver is not found. I found a way to make it as part of deploy package. playwright.cmd is on place but on the different path:
Is there is a way to set the path for driver manually? Maybe by some environment variable?