Neeeeeeeeeed help get access token get null from local storage

String script = ‘return window.localStorage.getItem(“access_token”);’ @katalon51

Storage: getItem() method - Web APIs | MDN (mozilla.org)

With the above information on getItem(), maybe you have to setItem() the key/value pair first before you “get” them.

Storage: setItem() method - Web APIs | MDN (mozilla.org)

1 Like

Also, have you tried window with a capital W?
String script = 'return Window.localStorage.getItem("access_token");'

1 Like