Skip to content
masterclass Buddy

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.

Subscribe
  • cy.clearAllSessionStorage()
  • cy.getAllLocalStorage()
  • cy.clearAllLocalStorage()
  • cy.getAllCookies()

Source: cy.getAllSessionStorage() | Cypress API Documentation. Checked 2026-11-03.