await Delay(1000);
//while browser is still loading, delay for 1s and continue to check
while(await IsLoading())
{
await Delay(1000);
}
//while the display of the skip_bu2tton still = none, delay for 1s and continue checking
while(await EvaluateScript("skip_bu2tton.style.display") == "none")
{
await Delay(1000);
}
//If the macros can go here, it's mean the site has been loaded
//and the skip button has been shown
Alert("Skip button is ready !"); //just for test, should be remove in real works
ClickById("skip_bu2tton");