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 (

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 (

1 Like

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

1 Like