Cypress.session
Cypress.session
is a collection of session-related helper methods intended to
be used alongside the cy.session()
command.
Syntax
Clear all saved sessions and re-run the current spec file.
Cypress.session.clearAllSavedSessions()
This can also be done by clicking the "Clear All Sessions" button in the Sessions Instrument Panel.