microsoft / playwright-dotnet

.NET version of the Playwright testing and automation library.
https://playwright.dev/dotnet/
MIT License
2.46k stars 233 forks source link

[BUG] Chrominum does not open with new version 1.24.0 #2231

Closed jellenche closed 2 years ago

jellenche commented 2 years ago

Context:

Code snippet This is a part of .csproj file where we define which packages we want to use and their versions

net6.0 disable false PreserveNewest

Describe the bug

I have some test written in PW .NET6.0 , running in headed mode. While my code was using previous version of PW 1.23.0, Chromium was opening without problems. The moment I switched to a new version, Chromium is not opening (the test seems to Be running in headless mode). The mode of running is defined in system environment variable as "HEADED = 1". I noticed the issue has something to do with the PW version because, the moment I downgraded the solution to use 1.23.0 version instead of 1.24.0, browser was opening. Is this a known issue and how to solve it if we want to switch to a new PW version?

mxschmitt commented 2 years ago

This was fixed in https://github.com/microsoft/playwright-dotnet/pull/2227, we'll release a new version with the fix soon. Sorry for the inconvenience.

mxschmitt commented 2 years ago

v1.24.1 gets published right now, should be fixed then.

jellenche commented 2 years ago

It is, thanx for your effort 👍