Skip to content

[Bug]: Playwright fails with Microsoft Edge 145 – browser closes immediately on Windows #39481

@vornicma-cpp

Description

@vornicma-cpp

Version

1.57.0

Steps to reproduce

After upgrading Microsoft Edge to version 145.x, Playwright tests fail because the browser closes immediately after launch.

The error occurs during browser.newContext() execution: "browser.newContext: Target page, context or browser has been closed".

Reproduction Steps

  1. Install Microsoft Edge version 145
  2. Run Playwright tests using Edge channel
    const browser = await chromium.launch({
    slowMo: 0,
    headless: false,
    channel: 'msedge',
    args: ['--no-sandbox', '--no-zygote', '--disable-gpu'],
    });
    const context = await browser.newContext();
  3. Check logs

Expected behavior

Playwright should launch Microsoft Edge and create a browser context successfully.

Actual behavior

Edge starts and closes immediately.
Tests fail with: "browser.newContext: Target page, context or browser has been closed "

Additional context

Edge launches normally outside Playwright.
Same configuration works with Edge 144.
Problem started after upgrading Edge 144 → 145.

Is Microsoft Edge 145 officially supported by the current Playwright version on Windows?

This appears to be a regression introduced in Edge 145.

Environment

Windows 11 x64
@playwright/test: latest

Failing version:Microsoft Edge 145.x

Working version:Microsoft Edge 144.x

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