Load or clear session state using a JSON snapshot including cookies, localstorage, and IndexDB entries.

Inputs

Authentication state function
string
required

JavaScript code returning an object containing cookies and local storage to load into the session. The object should be in the same format returned by the Save auth state step. Leave the function blank or return an empty object to clear the current session state instead.