Function When_I_clear_session_storage

  • When I clear session storage:

    When I clear session storage
    

    Clear sessionStorage data for all origins with which the test has interacted.

    Returns void

    Clear all sessionStorage:

    When I clear session storage
    

    Cypress automatically clears all session storage before each test to prevent state from being shared across tests when test isolation is enabled. You shouldn't need to use this command unless you're using it to clear sessionStorage inside a single test or test isolation is disabled.