minvoice
minvoice copied to clipboard
Playwright is unable to find chrome driver
When running the app locally:
PS C:\[...]\minvoice> dotnet run --project .\src\Minvoice\Minvoice.csproj
I get an exception:
Building...
info: Microsoft.Hosting.Lifetime[14]
Now listening on: http://localhost:5000
info: Microsoft.Hosting.Lifetime[0]
Application started. Press Ctrl+C to shut down.
info: Microsoft.Hosting.Lifetime[0]
Hosting environment: Development
info: Microsoft.Hosting.Lifetime[0]
Content root path: C:\[...]\minvoice\src\Minvoice
fail: Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware[1]
An unhandled exception has occurred while executing the request.
Microsoft.Playwright.PlaywrightException:
Executable doesn't exist at C:\[...]\AppData\Local\ms-playwright\chromium-9win\chrome.exe