Skip to content

[Bug]: Playwright 1.58.0 regression for 'msedge' when setting local-network-access permission #39033

@dacloutier-logmein

Description

@dacloutier-logmein

Version

1.58.0

Steps to reproduce

permission_test.zip

  • unzip
  • CD into folder
  • pnpm install
  • run tests

You'll see that Edge will fail to grant the permissions.

  • Rollback playwright version to 1.57.0
  • pnpm reinstall:full
  • run tests

They'll pass

Expected behavior

Granting local-network-access permission in edge should pass

Actual behavior

Error: browserContext.grantPermissions: Protocol error (Browser.grantPermissions): Unknown permission type: localNetwork
    at tests/test.spec.ts:26:19

Additional context

No response

Environment

System:
    OS: macOS 26.2
    CPU: (14) arm64 Apple M4 Pro
    Memory: 1.84 GB / 48.00 GB
  Binaries:
    Node: 24.11.1 - ~/.nvm/versions/node/v24.11.1/bin/node
    npm: 11.7.0 - ~/.nvm/versions/node/v24.11.1/bin/npm
    pnpm: 10.26.2 - /opt/homebrew/bin/pnpm
  IDEs:
    Claude Code: 2.1.23 - ~/.local/bin/claude
  Languages:
    Bash: 3.2.57 - /bin/bash

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