Skip to content

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

@jellenche

Description

@jellenche

Context:

  • Playwright Version: [1.24.0]
  • Operating System: [Windows]
  • .NET version: [ .NET 6]
  • Browser: [Chromium]

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

net6.0 disable
<IsPackable>false</IsPackable>
<ItemGroup>
	<ProjectReference Include="..\AzureStorageAccess\AzureStorageAccess.csproj" />
	<ProjectReference Include="..\DBAccess\DBAccess.csproj" />
	<ProjectReference Include="..\PageObjects\PageObjects.csproj" />
	<ProjectReference Include="..\WebAppCommon\WebAppCommon.csproj" />
</ItemGroup>

<ItemGroup>
	<None Update="appsettings.json">
		<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
	</None>
</ItemGroup>

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions