I need the BAS browser to remain active after the thread is finished, and the next iteration of the script to open a new browser. Or the threads should be started one by one instead of simultaneously. Can you tell me how to implement this in BAS?
Each asynchronous function started, starts in separate thread.
So in that example you will have 2 threads since 2 asynchronous functions
will be started, each with its own (different) script.