You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 16, 2023. It is now read-only.
I see that Zombie has functions to work with local storage, but i can not set, or get, or remove items, like in plain browser (Chrome or Firefox). How does it works?
When i wrote browser.localStorage.setItem('token', '123'); i see TypeError: browser.localStorage.setItem is not a function
The text was updated successfully, but these errors were encountered:
Though it's a very old repository, the doc for localStorage is still effective.
And I've tested myself with zombie.js 6.1.2.
Your problem is that you misuse the browser.localStorage since it's actually a function.
The localStorage of browser object is based on the document origin.
Check these codes.
I see that Zombie has functions to work with local storage, but i can not set, or get, or remove items, like in plain browser (Chrome or Firefox). How does it works?
When i wrote browser.localStorage.setItem('token', '123'); i see TypeError: browser.localStorage.setItem is not a function
The text was updated successfully, but these errors were encountered: