for (let i = 0; i < win.sessionStorage.lenght; i++) {
const key = win.sessionStorage.key(i);
const value = win.sessionStorage.getItem(key);
cy.log(key)
cy.log(value)
}```
me devuelve esto:
{
me devuelve esto "prueba": "eyJ123",
"persist:userSession": "{\"_persist\":\"{\\\"version\\\":-1,\\\"rehydrated\\\":true}\"}",
"ob": "true",
"cargarPinpoint": "false",
"csid": "1",
"user": "true",
"obState": "",
"isServertime": "true",
"tt_appInfo": "{\"platform\":\"pc\"}",
"nombre": "Juan Perez",
"chat": "true",
"jwt": "eyJ123",
"referer": "",
"cdTabData": "{\"id\":\"1\",\"openTabTS\":172}"
}
{ "prueba": "eyJ123", "persist:userSession": "{"_persist":"{\"version\":-1,\"rehydrated\":true}"}", "ob": "true", "cargarPinpoint": "false", "csid": "1", "user": "true", "obState": "", "isServertime": "true", "tt_appInfo": "{"platform":"pc"}", "nombre": "Juan Perez", "chat": "true", "jwt": "eyJ123", "referer": "", "cdTabData": "{"id":"1","openTabTS":172}" }```
sessionStorage: Storage
{
"prueba": "eyJ123",
"persist:userSession": "{\"_persist\":\"{\\\"version\\\":-1,\\\"rehydrated\\\":true}\"}",
"ob": "true",
"cargarPinpoint": "false",
"csid": "1",
"user": "true",
"obState": "",
"isServertime": "true",
"tt_appInfo": "{\"platform\":\"pc\"}",
"nombre": "Juan Perez",
"chat": "true",
"jwt": "eyJ123",
"referer": "",
"cdTabData": "{\"id\":\"1\",\"openTabTS\":172}"
}```