Version
1.60.0
Steps to reproduce
OS: Windows 10
Node: v26.2.0
Edge installed locally: Version 149.0.4022.80
From Playwright version 1.60.0 onwards, the Edge browser crashes before executing the full test. But works fine on Chrome and Firefox.
It works fine with 1.59.0 and previous versions.
I have only these packages:
"@playwright/test": "^1.60.0",
"dotenv": "^17.4.2",
"playwright-bdd": "^9.2.0",
"ts-node": "^10.9.2",
"typescript": "^6.0.3"
And my config has the below code and the .env has edge as BROWSER.
projects: [
{
name: 'msedge',
use: {
browserName: 'chromium',
channel: process.env.BROWSER === 'edge' ? 'msedge' : undefined
},
},
]
Expected behavior
It should pass on Edge.
Actual behavior
Crashes only on Edge and throws error Error: browserContext.close: Target page, context or browser has been closed
Additional context
No response
Environment
System:
OS: Windows 10 10.0.19045
CPU: (22) x64 Intel(R) Core(TM) Ultra 7 165H
Memory: 10.10 GB / 31.45 GB
Binaries:
Node: 26.2.0 - C:\Program Files\nodejs\node.EXE
npm: 11.13.0 - C:\Program Files\nodejs\npm.CMD
IDEs:
VSCode: 1.124.2 - C:\Users\<<user>>\AppData\Local\Programs\Microsoft VS Code\bin\code.CMD
Languages:
Bash: 5.2.37 - C:\Users\<<user>>\AppData\Local\Programs\Git\usr\bin\bash.EXE
npmPackages:
@playwright/test: ^1.60.0 => 1.61.1
playwright-bdd: ^9.2.0 => 9.2.0
Version
1.60.0
Steps to reproduce
OS: Windows 10
Node: v26.2.0
Edge installed locally: Version 149.0.4022.80
From Playwright version 1.60.0 onwards, the Edge browser crashes before executing the full test. But works fine on Chrome and Firefox.
It works fine with 1.59.0 and previous versions.
I have only these packages:
And my config has the below code and the .env has edge as BROWSER.
Expected behavior
It should pass on Edge.
Actual behavior
Crashes only on Edge and throws error
Error: browserContext.close: Target page, context or browser has been closedAdditional context
No response
Environment
System: OS: Windows 10 10.0.19045 CPU: (22) x64 Intel(R) Core(TM) Ultra 7 165H Memory: 10.10 GB / 31.45 GB Binaries: Node: 26.2.0 - C:\Program Files\nodejs\node.EXE npm: 11.13.0 - C:\Program Files\nodejs\npm.CMD IDEs: VSCode: 1.124.2 - C:\Users\<<user>>\AppData\Local\Programs\Microsoft VS Code\bin\code.CMD Languages: Bash: 5.2.37 - C:\Users\<<user>>\AppData\Local\Programs\Git\usr\bin\bash.EXE npmPackages: @playwright/test: ^1.60.0 => 1.61.1 playwright-bdd: ^9.2.0 => 9.2.0