barbushin / javascript-errors-notifier

Google Chrome and Firefox extension that notifies about JavaScritp errors by icon in address bar & popups
MIT License
205 stars 62 forks source link

New feature request: Modal dialog popup with error message #98

Open MatthewR416 opened 3 years ago

MatthewR416 commented 3 years ago

Hi,

I use your tool while running automated testing. If an error is encountered, my scripts keep going because I don't want to add any code to constantly check if there is an error popup. One of the guys I work with modified the code to throw up an alert with the error message in it. This is better for me, as the alert interferes with the automation, causing it to fail and then I get a screenshot with the alert and I know something unexpected happened with javascript. However this in itself is not perfect because the dialog is not modal. It just is floating on top of the browser. It only interferes with elements my automation is trying to deal with underneath the alert. For example, a click would fail if the item I want to click is under the alert, but not if it wasn't. This sometimes leads to scripts passing even though the alert appeared (depends on how close to finishing the test it was when it appeared, or where the elements it want s to click are located).

Would it be possible to add an option to throw up a dialog in the middle of the screen with the error AND make it modal so no interaction with the browser would be possible until the dialog is dismissed?

Thanks,

Aracknid