Cypress · Method
cy.getAllSessionStorage
Reads sessionStorage for all origins that the test has used. It can retry directly chained assertions until they pass or the command times out.
Last updated
- Since
- 16.0.0
Syntax
cy.getAllSessionStorage()
cy.getAllSessionStorage(options)In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
cy.clearAllSessionStorage()cy.getAllLocalStorage()cy.clearAllLocalStorage()cy.getAllCookies()