Closed ladeak closed 2 years ago
I seem to get the same error on an ubuntu runner as well:
Error Message:
Microsoft.Playwright.PlaywrightException : Executable doesn't exist at /home/runner/.cache/ms-playwright/chromium-956323/chrome-linux/chrome
╔═════════════════════════════════════════════════════════════════════════╗
║ Looks like Playwright Test or Playwright was just installed or updated. ║
║ Please run the following command to download new browsers: ║
║ ║
║ playwright install ║
║ ║
║ <3 Playwright Team ║
╚═════════════════════════════════════════════════════════════════════════╝
Stack Trace:
at Microsoft.Playwright.Transport.Connection.SendMessageToServerAsync[T](String guid, String method, Object args)
at Microsoft.Playwright.Core.BrowserType.LaunchAsync(BrowserTypeLaunchOptions options)
This error message is miss-leading, its getting fixed in 1.19.1 for .NET (https://github.com/microsoft/playwright/pull/12025).
You need to install the actual browser of your .NET Playwright installation, you can do it with: pwsh bin\Debug\netX\playwright.ps1 install
Thank you for the workaround. It resolves the issue until we get 1.19.1 :)
Context:
GitHub fails to execute tests with chromium does not exist error:
Code Snippet
Describe the bug
Using the following GitHub Action:
After having playwright installed on GitHub, it still fails and shows me to install playwright. I don't see any errors during installation step: