You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have searched existing issues and found nothing related to my issue.
Bruno version
1.39.0
Operating System
Windows
Describe the bug
I have an async script library file, which I invoke from a prerequest script. The prerequest script calls the method, then finishes processing itself. In the background, the script keeps processing. So I was trying to figure out a way to block until my method returns, however nothing I have tried so far works.
I then tried the following to see if async was possible in the prerequest script. But I get an error "console.info not a function error"
I have checked the following:
Bruno version
1.39.0
Operating System
Windows
Describe the bug
I have an async script library file, which I invoke from a prerequest script. The prerequest script calls the method, then finishes processing itself. In the background, the script keeps processing. So I was trying to figure out a way to block until my method returns, however nothing I have tried so far works.
I then tried the following to see if async was possible in the prerequest script. But I get an error "console.info not a function error"
This is my pre request script to check async
`(async () => {
const delay = (ms) => new Promise((resolve) => setTimeout(resolve, ms));
})();`
But I get this error
Error invoking remote method 'send-http-request': TypeError: console.info(...) is not a function
I am not using console.info anywhere, so assume its in the Bruno app code somewhere?
.bru file to reproduce the bug
No response
Screenshots/Live demo link
The text was updated successfully, but these errors were encountered: