Version
1.56.0
Steps to reproduce
When running playwright in vs 2026 we get the handle is invalid error.
var playwright = await Playwright.CreateAsync();
var context = await playwright.Chromium.LaunchAsync();
var pp = await context.NewPageAsync();
await pp.GotoAsync("https://example.com");
gives this error on the CreateAsync.
Expected behavior
playwright should start
Actual behavior
we get the handle is invalid error
Additional context
the same project works in vs2022
Environment
- Operating System: [windows 11]
- CPU: [AMD 64]
- Browser: [All]
- .NET Version (TFM): [net8.0]
- Other info: VS 2026