Have you installed playwright chromium required browsers?
https://playwright.dev/dotnet/docs/intro
Install required browsers. This example uses net8.0, if you are using a different version of .NET you will need to adjust the command and change net8.0 to your version.
pwsh bin/Debug/net8.0/playwright.ps1 install
this is an example from the Playwright documents, after one build it will generate a .ps1 file so you can execute using terminal, after this installation you good to run the app.