Variables set on the window object are undefined with Chrome and Electron #27952
Labels
stage: needs information
Not enough info to reproduce the issue
stale
no activity on this issue for a long period
Current behavior
Variables set on the
window
object return undefined when accessed from Cypress tests using Chrome and Electron browsers.Also during Cypress testing, the variables are undefined when accessed from the testing browser console in Firefox, Chrome and Electron.
Desired behavior
The variables set on the window object should not be undefined, both in Cypress and the testing browser console.
Test code to reproduce
https://github.com/edgarkanyes/cypress-window-issue
Cypress Version
13.3.0
Node version
v18.18.0
Operating System
MacOS Ventura 13.6
Debug Logs
No response
Other
I am adding screenshots from the linked repository for context.
The text was updated successfully, but these errors were encountered: