Check this thread:
Thanks,but I think the Ui Explorer can be to better!
Yup. It can surely be better. However it does work perfectly when dealing with popups in firefox and ie. Its just the chrome where this delay with identifying element happens for such popup occurs, i believe there would have been some limitations in dealing with those wrt chrome.
You can try sending hot keys they work flawlessly
you can try to find the button using ui explorer (while the pop-up is still open). it is related to dialog menu, you just need to find the right one hidden somewhere in there?
here’s mine when i try to use firefox when doing ACME assignment
This really helped. Thank You!
If anyone else stumbles on this, the hotkey to dismiss the js alert is Enter.