I am trying to bypass login process as team has set boat on application but some how my method is not going to set token value
await I.executeScript(function (setToken) {
console.log(‘set token’,setToken.idToken);
window.localStorage.setItem(‘frJwt’, setToken.idToken)
}, resp.data)
When we try to debug then we noticed then we are not able to move inside settoken method
Please help if any one is aware.