Is there a way to detect an alert message?


#1

I am building an Electron application to handle some automation work, part of the process is an alert message from the website I will be making my automation on. I want to detect whether this alert message is triggered or not. Is there a way to this ?

Thanks


#2

Trying to find the same thing to interact with user throw icon or whatever. Plz describe if you will find a solution first… I aim the saim as skype does whith its icon when a new message receaved.


#3

Seems like overriding window.alert with your own function would be a reasonable solution?