Closed Xen0byte closed 2 years ago
Those issues might be related: https://github.com/microsoft/playwright-dotnet/issues/1749 https://github.com/microsoft/playwright-dotnet/issues/1815
Those issues might be related: #1749 #1815
Aha, thanks for this! I did have a quick look through the issues before posting, but it did not occur to me that these might be related, however, upon reading the details, you might be right. I haven't inspected the process pool yet for zombies.
Was able to reproduce and its fixed by https://github.com/microsoft/playwright-dotnet/pull/1864.
Playwright version
1.17.0
Operating system
Windows
What browsers are you seeing the problem on?
Chromium
Other information
both .NET5 and .NET6
What happened? / Describe the bug
When I click a logout button that redirects to an identity provider (KeyCloak), that page does not close when I do
await Context.CloseAsync()
, and instead it hangs indefinitely. I have managed to work around the issue by addingforeach (IPage page in Context.Pages) await page.CloseAsync();
to my after feature hook (I'm using Specflow, but can reproduce this issue without it).Code snippet to reproduce your bug
Relevant log output
No response