cypress: Firefox browser never connected (Cannot read properties of undefined (reading 'browsingContextGetTree'))

Current behavior

I’m trying to run tests on Firefox 136.0.3 with cypress version 14.2.0 on windows machine. I have this error :

Timed out waiting for the browser to connect. Retrying...
Timed out waiting for the browser to connect. Retrying again...
The browser never connected. Something is wrong. The tests cannot run. Aborting...
The browser never connected. Something is wrong. The tests cannot run. Aborting...

Cannot read properties of undefined (reading 'browsingContextGetTree')
TypeError: Cannot read properties of undefined (reading 'browsingContextGetTree')
    at Object.connectToNewSpecBiDi (<embedded>:2764:205513)
    at Object.K (<embedded>:2770:9092)
    at Object.connectToNewSpec (<embedded>:2770:30156)
    at async v.relaunchBrowser (<embedded>:2879:3[86](https://git.vascloud.be/nihii/vidis-webcomponent-tests/-/jobs/509981#L86)03)

Desired behavior

Cypress should run tests on firefox.

Test code to reproduce

N/A

Cypress Version

14.2.0

Node version

22.12.0

Operating System

Windows 11 Entreprise 24H2

Debug Logs


Other

No response

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 17 (13 by maintainers)

Most upvoted comments

I’m working on a restricted corporate network.

I will try uninstalling and re-installing Firefox.

I will keep you inform. Thanks

I did several tries (downgrading cypress & firefox version).

Fortunately it’s working with cypress 14.2.1 & Firefox 137

Thanks for your time and help.