Close JavaScript Alert Using VBA Automation

后端 未结 2 1450
眼角桃花
眼角桃花 2020-12-21 12:36

I am searching for a way to close a Javascript pop-up/message box (i.e. not a NEW IE window, but a scripted alert()) that loads when a webpage is loaded.

2条回答
  •  伪装坚强ぢ
    2020-12-21 13:26

    One work-around could be to recognize when your script is stuck and then just send the keystroke "enter" to close the pop-up.

提交回复
热议问题