Skip to content

[Bug]: playwright.ps1 does not install required assets with .NET 10 on arm macOS #3268

@seangwright

Description

@seangwright

Version

1.57.0

Steps to reproduce

Ensure you are using a macos arm device (e.g. M-series macbook)

Steps:

  1. Clone my repo at https://github.com/seangwright/PlaywrightNUnitDotnet10

  2. dotnet build

  3. pwsh ./bin/Debug/net10.0/playwright.ps1 install

  4. See error:

     Microsoft.Playwright assembly was found, but is missing required assets. Please ensure to build your project before running Playwright tool.
    

Expected behavior

I can install Playwright browsers

Actual behavior

I cannot install Playwright browsers, even though I have all the required dependencies and followed the documentation.

Additional context

This was working previously with .NET 8, but when I updated to .NET 10 it stopped working correctly.

Environment

- macOS arm Sequoia 15.6.1
- .NET 10.0.101 SDK
- PowerShell 7.5.4

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