web » saveLocalStorage(var,key)
Description
- This command save the value of a local storage (based on
key) to the specifiedvar. - If the identified
keydoes not resolve to a value (i.e., not found), the specifiedvarwill be save with no value.
Parameters
- var - the name of the variable to save the value of the specified local storage
key. - key - the
keyin the current browser’s local storage.
Example

the current browser’s local storage has a key named as __chooser, with value set to `{“email”:”iamtest@[gmail.com”}.