Return Promise in "executeScript"

I’ve just starting using this awesome tool. There is one problem I’m facing in “executeScript”. I want to return a promise response and assign it to a variable but the script just executes and does not wait for the promise return. Is there any way I can do that? Waiting for your response.
Thank you

Interesting! Would execute async script help?

I want to run it in Browser extension. I can’t find this command in the extension

Yes, this command does not exist yet in UI.Vision. But we can add it with the next update. It is a good suggestion :smiley:

Thanks. I’ll be waiting for the update