Cypress · Function
cy.window
Gets the window object for the active application under test. You can chain commands and assertions to inspect it or wait for application state.
Last updated
- Since
- 0.11.6
Syntax
cy.window()
cy.window(options)In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
cy.visit()cy.document()cy.its()