-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Description
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
- Install Microsoft Edge version 145
- 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(); - 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