He meant one script per thread.
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.
This error is made when the page has not been loaded, you need to add action to wait for the element to appear or wait for the web page to finish loading.
💻 Work with Reputation, Speed, and Quality
🤙 Telegram : https://t.me/basvietnam
💻 Website : https://basvietnam.com/
📞 WhatsApp : https://wa.me/84973590048
🎦 Youtube : https://www.youtube.com/@basvietnam/videos
@Melinda I will add Wait full page load and try